怎么查看OracleRAC中asm磁盘的udev对应关系

小编给大家分享一下怎么查看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情况。

以上是“怎么查看Oracle RAC中asm磁盘的udev对应关系”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!

名称栏目:怎么查看OracleRAC中asm磁盘的udev对应关系
文章URL:https://www.cdcxhl.com/article42/pcoeec.html

成都网站建设公司_创新互联,为您提供外贸建站软件开发定制开发企业网站制作网站制作面包屑导航

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都网页设计公司