- 最后登录
- 2021-1-29
- 在线时间
- 37 小时
- 威望
- 5
- 金钱
- 166
- 注册时间
- 2012-12-28
- 阅读权限
- 10
- 帖子
- 99
- 精华
- 0
- 积分
- 5
- UID
- 846
|
1#
发表于 2014-1-3 20:49:00
|
查看: 4261 |
回复: 3
udev脚本生成的rule如下:
[root@db1 rules.d]# 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目录
|
|