leonhat 发表于 2014-1-3 20:49:00

RAC安装时 redhat AS 6.4 挂载 DELL MD3600f磁盘阵列问题

udev脚本生成的rule如下:

# cat 99-oracle-asmdevices.rules
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006cd000002e152c4e6f1", NAME="asm-diskc", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006f8000002c052c5b7bb", NAME="asm-diskd", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006f8000002c252c5b7d8", NAME="asm-diske", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006cd000002e652c4e72c", NAME="asm-diskf", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006cd000002e452c4e712", NAME="asm-diskg", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006f8000002c452c5b828", NAME="asm-diskh", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006cd000002e852c4e782", NAME="asm-diski", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006f8000002c652c5b853", NAME="asm-diskj", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="mapper/mpath*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="36f01faf000e006cd000002ea52c4e7b1", NAME="asm-diskk", OWNER="grid", GROUP="asmadmin", MODE="0660"




start_udev后,/dev下没有生成asmdisk目录


Liu Maclean(刘相兵 发表于 2014-1-3 21:48:20

FYI
http://t.askmaclean.com/thread-3282-1-1.html

leonhat 发表于 2014-1-6 10:32:56

tks liu

等下vpn通了试试。。

leonhat 发表于 2014-1-6 16:18:35

已经可以了,处理方法是:

ll /dev/mapper# ll /dev/mapper/
总用量 0
crw-rw----. 1 root root 10, 58 1月   6 16:07 control
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathc -> ../dm-0
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathd -> ../dm-8
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathe -> ../dm-6
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathf -> ../dm-5
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathg -> ../dm-7
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathh -> ../dm-1
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathi -> ../dm-2
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathj -> ../dm-4
lrwxrwxrwx. 1 root root      7 1月   6 16:07 mpathk -> ../dm-3vi 50-udev.rules
添加如下:SUBSYSTEM=="block", KERNEL=="dm-0", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-1", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-2", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-3", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-4", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-5", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-6", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-7", GROUP="asmadmin", OWNER="grid", MODE="0660"
SUBSYSTEM=="block", KERNEL=="dm-8", GROUP="asmadmin", OWNER="grid", MODE="0660"结果:# ll /dev/dm*
brw-rw----. 1 grid asmadmin 253, 0 1月   6 16:11 /dev/dm-0
brw-rw----. 1 grid asmadmin 253, 1 1月   6 16:11 /dev/dm-1
brw-rw----. 1 grid asmadmin 253, 2 1月   6 16:11 /dev/dm-2
brw-rw----. 1 grid asmadmin 253, 3 1月   6 16:11 /dev/dm-3
brw-rw----. 1 grid asmadmin 253, 4 1月   6 16:11 /dev/dm-4
brw-rw----. 1 grid asmadmin 253, 5 1月   6 16:11 /dev/dm-5
brw-rw----. 1 grid asmadmin 253, 6 1月   6 16:11 /dev/dm-6
brw-rw----. 1 grid asmadmin 253, 7 1月   6 16:11 /dev/dm-7
brw-rw----. 1 grid asmadmin 253, 8 1月   6 16:11 /dev/dm-8
页: [1]
查看完整版本: RAC安装时 redhat AS 6.4 挂载 DELL MD3600f磁盘阵列问题