如何檢視Oracle RAC的asm磁碟的udev對應關係
[root@test ~]# cd /etc/udev/rules.d
[root@test rules.d]# cat 99-oracle-asmdevices.rules
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc42a82ce5701000000", NAME="crs1", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc40f1fd15701000000", NAME="crs2", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc44e22d15701000000", NAME="crs3", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc49625d15701000000", NAME="crs4", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc4f429d15701000000", NAME="crs5", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc4f529d15701000000", NAME="data1", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc4f629d15701000000", NAME="data2", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc4f729d15701000000", NAME="data3", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc4f829d15701000000", NAME="fra1", OWNER="grid",GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", SUBSYSTEM=="block", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3600c0ff00027efc4f929d15701000000", NAME="fra2", OWNER="grid",GROUP="asmadmin", MODE="0660"
[root@test rules.d]# ll
total 56
-rw-r--r-- 1 root root 190 Sep 9 2016 55-usm.rules
-rw-r--r--. 1 root root 1652 Aug 26 2010 60-fprint-autosuspend.rules
-rw-r--r--. 1 root root 1060 Jun 29 2010 60-pcmcia.rules
-rw-r--r--. 1 root root 316 Jan 9 2013 60-raw.rules
-rw-r--r--. 1 root root 789 May 31 2016 70-persistent-cd.rules
-rw-r--r-- 1 root root 671 Sep 2 2016 70-persistent-net.rules
-rw-r--r-- 1 root root 40 Jan 24 2013 80-kvm.rules
-rw-r--r--. 1 root root 320 Sep 12 2012 90-alsa.rules
-rw-r--r--. 1 root root 83 Apr 1 2011 90-hal.rules
-rw-r--r--. 1 root root 2486 Jun 30 2010 97-bluetooth-serial.rules
-rw-r--r--. 1 root root 292 Jan 18 2013 98-kexec.rules
-rw-r--r--. 1 root root 54 Nov 3 2011 99-fuse.rules
-rw-r--r-- 1 root root 2163 Sep 9 2016 99-oracle-asmdevices.rules
-rw-r--r-- 1 root root 341 Aug 8 2017 99-vmware-scsi-udev.rules
[root@test sbin]# cd /dev/disk/
[root@test disk]# ls
by-id by-path by-uuid
[root@test disk]# cd by-id
[root@test by-id]# ll
total 0
lrwxrwxrwx 1 root root 10 Dec 6 09:20 dm-name-bak-lv01 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Dec 6 09:20 dm-name-vg_db-lv_db1 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec 6 09:20 dm-name-vg_db-lv_swap -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec 6 09:20 dm-uuid-LVM-4r5uYRBHslmlhae5r2KYuVmikyIq9IeElMko3qUmkQcApM4qWJIcSDFDYnkwMns5 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Dec 6 09:20 dm-uuid-LVM-4r5uYRBHslmlhae5r2KYuVmikyIq9IeEyfYsKoNPchVN9Ll6ekez5hgTxrvoOvKY -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec 6 09:20 dm-uuid-LVM-LBV3iw8kSBcWNNx9dnGgbxTV2rACPkowsjQ4qNv217o4zNTcEeybSM2ajMUrtNSK -> ../../dm-2
lrwxrwxrwx 1 root root 9 Dec 25 15:24 scsi-3600c0ff00027efc40f1fd15701000000 -> ../../sdi
lrwxrwxrwx 1 root root 9 Dec 25 15:47 scsi-3600c0ff00027efc42a82ce5701000000 -> ../../sdh
lrwxrwxrwx 1 root root 9 Dec 29 15:49 scsi-3600c0ff00027efc44e22d15701000000 -> ../../sdj
lrwxrwxrwx 1 root root 9 Dec 25 15:24 scsi-3600c0ff00027efc49625d15701000000 -> ../../sdk
lrwxrwxrwx 1 root root 9 Dec 25 15:24 scsi-3600c0ff00027efc4f429d15701000000 -> ../../sdl
lrwxrwxrwx 1 root root 9 Dec 25 16:05 scsi-3600c0ff00027efc4f529d15701000000 -> ../../sdb
lrwxrwxrwx 1 root root 9 Dec 26 02:04 scsi-3600c0ff00027efc4f629d15701000000 -> ../../sdc
lrwxrwxrwx 1 root root 9 Dec 25 15:24 scsi-3600c0ff00027efc4f729d15701000000 -> ../../sdd
lrwxrwxrwx 1 root root 9 Dec 25 15:24 scsi-3600c0ff00027efc4f829d15701000000 -> ../../sde
lrwxrwxrwx 1 root root 9 Dec 25 15:24 scsi-3600c0ff00027efc4f929d15701000000 -> ../../sdf
lrwxrwxrwx 1 root root 9 Dec 6 09:20 scsi-3600c0ff00027efc4fa29d15701000000 -> ../../sdg
lrwxrwxrwx 1 root root 10 Dec 6 09:20 scsi-3600c0ff00027efc4fa29d15701000000-part1 -> ../../sdg1
lrwxrwxrwx 1 root root 9 Dec 25 15:24 wwn-0x600c0ff00027efc40f1fd15701000000 -> ../../sdi
lrwxrwxrwx 1 root root 9 Dec 25 15:47 wwn-0x600c0ff00027efc42a82ce5701000000 -> ../../sdh
lrwxrwxrwx 1 root root 9 Dec 29 15:49 wwn-0x600c0ff00027efc44e22d15701000000 -> ../../sdj
lrwxrwxrwx 1 root root 9 Dec 25 15:24 wwn-0x600c0ff00027efc49625d15701000000 -> ../../sdk
lrwxrwxrwx 1 root root 9 Dec 25 15:24 wwn-0x600c0ff00027efc4f429d15701000000 -> ../../sdl
lrwxrwxrwx 1 root root 9 Dec 25 16:05 wwn-0x600c0ff00027efc4f529d15701000000 -> ../../sdb
lrwxrwxrwx 1 root root 9 Dec 26 02:04 wwn-0x600c0ff00027efc4f629d15701000000 -> ../../sdc
lrwxrwxrwx 1 root root 9 Dec 25 15:24 wwn-0x600c0ff00027efc4f729d15701000000 -> ../../sdd
lrwxrwxrwx 1 root root 9 Dec 25 15:24 wwn-0x600c0ff00027efc4f829d15701000000 -> ../../sde
lrwxrwxrwx 1 root root 9 Dec 25 15:24 wwn-0x600c0ff00027efc4f929d15701000000 -> ../../sdf
lrwxrwxrwx 1 root root 9 Dec 6 09:20 wwn-0x600c0ff00027efc4fa29d15701000000 -> ../../sdg
lrwxrwxrwx 1 root root 10 Dec 6 09:20 wwn-0x600c0ff00027efc4fa29d15701000000-part1 -> ../../sdg1
透過對比scsi序號來檢視asm磁碟的udev情況。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22996654/viewspace-2153078/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- 使用udev擴充套件ASM磁碟組dev套件ASM
- 關於Oracle 10g ASM磁碟大小的限制Oracle 10gASM
- 【ASM】Oracle asm磁碟被格式化,如何掛載該磁碟組ASMOracle
- 12C__單機安裝Grid+Oracle的方法,ASM使用UDEV進行磁碟繫結OracleASMdev
- RAC_UDEV的99-oracle-asmdevices.rules配置方法devOracleASM
- 針對XML資料的關係型檢視XYXML
- oracle rac 增加磁碟Oracle
- android studio中如何檢視類的關係等Android
- ORACLE ASM的SSD磁碟空間回收分析OracleASM
- 【ASM】Oracle asm刪除磁碟組注意事項ASMOracle
- Oracle 11.2.0.4 rac for aix acfs異常環境的克隆環境ASM磁碟組掛載緩慢OracleAIASM
- Oracle Linux 7.8 多路徑(Multipath)+Udev繫結磁碟OracleLinuxdev
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM
- linux vdo驗證 oracle asm diskgroup sector_size 4096 udev asmlibLinuxOracleASMdev
- RAC之grid叢集安裝及ASM磁碟組配置ASM
- ORACLE ASM磁碟組空間溢位OracleASM
- Oracle 如何高效的檢視官方文件Oracle
- RabbitMQ與Erlang的版本對應關係MQ
- Oracle ASM磁碟組擴容(AIX7.1)OracleASMAI
- Oracle asm磁碟損壞異常恢復OracleASM
- 【BUILD_ORACLE】使用ASMLib包搭建ASM磁碟UIOracleASM
- 【BUILD_ORACLE】Oracle 19c RAC搭建(三)使用UDEV配置共享儲存UIOracledev
- 【ASM】ASM磁碟頭被重寫,如何修復ASM
- HBase 的結構與表的對應關係
- udev如何除錯,如何看udev的輸出日誌?udev除錯的坑?dev除錯
- goldengate + asm + racGoASM
- c#版本與vs的對應關係C#
- Oracle資料庫 ASM磁碟線上擴容Oracle資料庫ASM
- 【ASK_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(一)ASMFD簡介OracleASMFilter
- ASM磁碟組更換磁碟的操作方法ASM
- Java基礎:如何在IDEA中檢視依賴關係JavaIdea
- 關於 Service Worker 和 Web 應用對應關係的討論Web
- Oracle RAC日常運維-DATA磁碟組故障Oracle運維
- 關於Oracle dba_free_space 檢視的研究Oracle
- Firefox的降級與驅動對應關係Firefox