为啥99-oracle-asmdevices.rules 就可以
参考链接文档
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=422764250370176&id=1528148.1&displayIndex=2&_afrWindowMode=0&_adf.ctrl-state=ysk33pltn_254
How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) And Assign Them To ASM? (Doc ID 1528148.1)
在阅读上述MOS文档的时候,在本地创建UDEV rules文件,命名为:100-oracleasm.rules
内容为
KERNEL=="sdb1", NAME="asmdisk1_udev1", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sdc1", NAME="asmdisk2_udev2", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sdd1", NAME="asmdisk3_udev3", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sde1", NAME="asmdisk4_udev4", OWNER="grid", GROUP="asmadmin", MODE="0660"
执行 udevadmin control --reload-rules
start_udev之后,(都OK)
查看磁盘属性如下 ls -lt /dev/asmdisk*
brw-rw----. 1 grid disk 8, 17 Mar 31 05:45 /dev/asmdisk1_udev1
brw-rw----. 1 grid disk 8, 33 Mar 31 05:45 /dev/asmdisk2_udev2
brw-rw----. 1 grid disk 8, 49 Mar 31 05:45 /dev/asmdisk3_udev3
brw-rw----. 1 grid disk 8, 65 Mar 31 05:25 /dev/asmdisk4_udev4
发现和mos文中的描述存在差异,于是将udev rules文件名称为
99-oracle-asmdevices.rules
在进行权限检查,结果与MOS描述符合,
brw-rw----. 1 grid asmadmin 8, 65 Mar 31 07:03 /dev/asmdisk4_udev4
brw-rw----. 1 grid asmadmin 8, 49 Mar 31 07:03 /dev/asmdisk3_udev3
brw-rw----. 1 grid asmadmin 8, 17 Mar 31 07:03 /dev/asmdisk1_udev1
brw-rw----. 1 grid asmadmin 8, 33 Mar 31 07:03 /dev/asmdisk2_udev2
参考链接文档
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=422764250370176&id=1528148.1&displayIndex=2&_afrWindowMode=0&_adf.ctrl-state=ysk33pltn_254
How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) And Assign Them To ASM? (Doc ID 1528148.1)
在阅读上述MOS文档的时候,在本地创建UDEV rules文件,命名为:100-oracleasm.rules
内容为
KERNEL=="sdb1", NAME="asmdisk1_udev1", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sdc1", NAME="asmdisk2_udev2", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sdd1", NAME="asmdisk3_udev3", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sde1", NAME="asmdisk4_udev4", OWNER="grid", GROUP="asmadmin", MODE="0660"
执行 udevadmin control --reload-rules
start_udev之后,(都OK)
查看磁盘属性如下 ls -lt /dev/asmdisk*
brw-rw----. 1 grid disk 8, 17 Mar 31 05:45 /dev/asmdisk1_udev1
brw-rw----. 1 grid disk 8, 33 Mar 31 05:45 /dev/asmdisk2_udev2
brw-rw----. 1 grid disk 8, 49 Mar 31 05:45 /dev/asmdisk3_udev3
brw-rw----. 1 grid disk 8, 65 Mar 31 05:25 /dev/asmdisk4_udev4
发现和mos文中的描述存在差异,于是将udev rules文件名称为
99-oracle-asmdevices.rules
在进行权限检查,结果与MOS描述符合,
brw-rw----. 1 grid asmadmin 8, 65 Mar 31 07:03 /dev/asmdisk4_udev4
brw-rw----. 1 grid asmadmin 8, 49 Mar 31 07:03 /dev/asmdisk3_udev3
brw-rw----. 1 grid asmadmin 8, 17 Mar 31 07:03 /dev/asmdisk1_udev1
brw-rw----. 1 grid asmadmin 8, 33 Mar 31 07:03 /dev/asmdisk2_udev2
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21754115/viewspace-1133488/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/21754115/viewspace-1133488/