rhel6 裸设备绑定


修改/etc/udev/rules.d/60-raw.rules,增加以下内容:
ACTION=="add", KERNEL=="sdb1", RUN+="/bin/raw /dev/raw/raw1 %N" 

KERNEL=="raw1", OWNER="gird", GROUP="oinstall", MODE="0777" 

ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw2 %N" 

KERNEL=="raw2", OWNER="grid", GROUP="oinstall", MODE="0777"




你可能感兴趣的:(rhel6 裸设备绑定)