Device Checks for ASM - This is a prerequisite check to verify that the specified devices meet the requirements for ASM.
Check Failed on Nodes: [rac04, rac03, rac02, rac01]
Verification result of failed node: rac04
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details:
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
-
PRVF-5184 : Check of following Udev attributes of "rac04:/dev/sdc" failed: [Group: Found='asmadmin' Expected='asmdba'] Data used for above verification obtained from file: /etc/udev/rules.d/99-oracle-asmdevices.rules Rule used from above file: KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29711e38b2b30ac3350a41bc795", NAME="asm-diskh", OWNER="grid", GROUP="asmadmin", MODE="0660" - Cause: Found incorrect attributes for the specified device. - Action: Ensure that the device attributes are set correctly. See Configurable Dynamic Device Naming documentation (udev) for further information.
-
PRVF-5184 : Check of following Udev attributes of "rac04:/dev/sdd" failed: [Group: Found='asmadmin' Expected='asmdba'] Data used for above verification obtained from file: /etc/udev/rules.d/99-oracle-asmdevices.rules Rule used from above file: KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29711e38b2b30ac3350a41bc795", NAME="asm-diskh", OWNER="grid", GROUP="asmadmin", MODE="0660" - Cause: Found incorrect attributes for the specified device. - Action: Ensure that the device attributes are set correctly. See Configurable Dynamic Device Naming documentation (udev) for further information.
Back to Top
Verification result of failed node: rac03
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details:
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
Back to Top
Verification result of failed node: rac02
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details:
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
Back to Top
Verification result of failed node: rac01
Expected Value
:cvuqdisk-1.0.9-1
Actual Value
:cvuqdisk-1.0.9-1
Details:
-
PRVF-9992 : Group of device "/dev/asm-diskc" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
-
PRVF-9992 : Group of device "/dev/asm-diskd" did not match the expected group. [Expected = "asmdba"; Found = "asmadmin"] on nodes: [rac04, rac01, rac02, rac03] - Cause: Group of the device listed was different than required group. - Action: Change the group of the device listed or specify a different device.
Back to Top
原因:在13步的时候所有选择了asmdba Group,但在udev绑定磁盘的时候,使用了是asmadmin,所以报错
解决:回到13步,将第1个选择为asmadmin,或者在/etc/udev/rules.d/99-oracle-asmdevices.rules 里的GROUP改为asmdba
[root@rac01 ~]# cat /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29cfda425409b338dcc89bee3d1", NAME="asm-diskc", OWNER="grid", GROUP=
"asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29568d3bf2f0f93e426b1bb7e5e", NAME="asm-diskd", OWNER="grid", GROUP="
asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c292ee64f0282c3ec4f59a2b25a9", NAME="asm-diske", OWNER="grid", GROUP="
asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c2961c5deb39b7423e8aae97612a", NAME="asm-diskf", OWNER="grid", GROUP="
asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c2998df78f94e121e53950fa30cb", NAME="asm-diskg", OWNER="grid", GROUP="
asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36000c29711e38b2b30ac3350a41bc795", NAME="asm-diskh", OWNER="grid", GROUP=
"asmadmin", MODE="0660"
该文件生成的脚本如下:
[root@rac01 ~]# cat udev.sh
# AUTO UDEV RULE BY Maclean Liu 2012/06/30
for i in c d e f g h;
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\", RESULT==\"`/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\"" >> /etc/udev/rules.d/99-oracle-asmdevices.rules
done