修改权限:
vi /lib/udev/rudes.d/50-udev-default.rules
KERNEL=="rawctl", NAME="raw/%k",GROUP="oinstall", MODE="0660"
SUBSYSTEM=="raw", NAME="raw/%k",KERNEL=="raw[0-9]*",GROUP="oinstall",OWNER="grid", MODE="0660"
rac1:~ # start_udev
If 'start_udev' is not a typo you can run the followingcommand to lookup the package that contains the binary:
command-not-foundstart_udev
-bash: start_udev: command not found
rac1:~ # rcraw start
bind /dev/raw/raw1 to /dev/sdb1... done
bind /dev/raw/raw2 to /dev/sdc1... done
bind /dev/raw/raw3 to /dev/sdd1... done
rac1:~ # ll /dev/raw/
total 0
crw-rw---- 1 root disk 162, 1 Dec 2 21:01 raw1
crw-rw---- 1 root disk 162, 2 Dec 2 21:01 raw2
crw-rw---- 1 root disk 162, 3 Dec 2 21:01 raw3
crw-rw---- 1 root disk 162, 0 Dec 2 21:01 rawctl
rac1:~ # chkconfig raw on
rac2:/u01 # /etc/init.d/raw start