In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the asmdisk corresponding disk partition information is what, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
Orcl: in asm_diskstring='orcl:*' is a default way of oracle, which corresponds to the / dev/oracleasm/disks directory by default.
The parameter asm_diskstring of ASM instance is empty. By default, only / dev/raw and / dev/oracleasm/disks (ORCL:) directories will be found.
You can also understand why when you create an ASM disk group, the ASM disk name should be preceded by ORCL:, just like the file, it should specify the path + file name.
The disk partition information corresponding to asmdisk. The general step is to find the asmdisk for asmcmd lsdsk, and then match it in / dev or / dev/mapper directory.
Asmcmd lsdsk displays asmdisk information that already exists in asmdisk_group
[oracle@GI_Softwareonly_64 ~] $asmcmd lsdsk
Path
/ dev/oracleasm/disks/DATA1
/ dev/oracleasm/disks/DATA2
[oracle@GI_Softwareonly_64 ~] $ll / dev/oracleasm/disks/DATA1
Brw-rw---- 1 oracle dba 8, 17 Oct 14 10:52 / dev/oracleasm/disks/DATA1
[oracle@GI_Softwareonly_64 ~] $ll / dev | grep 8 | grep 17
Brw-r- 1 root disk 8, 17 Oct 14 09:58 sdb1
The mode of UDEV
[grid@pdb02 ~] $asmcmd lsdsk
Path
/ dev/plmdb
[grid@pdb02 ~] $ll / dev/plmdb
Lrwxrwxrwx. 1 root root 3 Nov 27 16:30 / dev/plmdb-> sdc
UDEV multipath mode
[grid@pdba ~] $asmcmd lsdsk
Path
/ dev/plm_db_arch
/ dev/plm_db_data
[grid@pdba ~] $ll / dev/plm_db_arch
Lrwxrwxrwx. 1 root root 4 November 27 15:52 / dev/plm_db_arch-> dm-3
[grid@pdba ~] $ll / dev | grep dm-3
Brw-rw----. 1 grid asmadmin 253, 3 November 27 16:49 dm-3
Lrwxrwxrwx. 1 root root 4 November 27 15:52 plm_db_arch-> dm-3
[grid@pdba ~] $ll / dev/mapper | grep dm-3
Lrwxrwxrwx. 1 root root 7 November 27 15:52 HP-3PAR-ARCH50->.. / dm-3
[grid@pdba ~] $fdisk-l | grep HP-3PAR-ARCH50
Disk / dev/mapper/HP-3PAR-ARCH50: 536.9 GB, 536870912000 bytes
Check for asmdisk that is not in asmdiskgroup (that is, asmdisk that is not used)
[oracle@GI_Softwareonly_64] $asmcmd lsdsk-- candidate
Path
/ dev/oracleasm/disks/DATA3
Thank you for reading this article carefully. I hope the article "what is the disk partition information corresponding to asmdisk" shared by the editor will be helpful to you. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.