- 论坛徽章:
- 0
|
[root@rac1 ~]# more /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
raw /dev/raw/raw1 /dev/sdb1 # Cluster Manager Quorum
raw /dev/raw/raw2 /dev/sdb2 #undotbs1
raw /dev/raw/raw3 /dev/sdb3 #undotbs2
raw /dev/raw/raw5 /dev/sdb5 #sys01
raw /dev/raw/raw6 /dev/sdb6 #spfile
raw /dev/raw/raw7 /dev/sdb7 #temp01
raw /dev/raw/raw8 /dev/sdb8 #user01&indx01
raw /dev/raw/raw9 /dev/sdb9 #ctl1
raw /dev/raw/raw10 /dev/sdb10 #ctl2
raw /dev/raw/raw11 /dev/sdb11 #log1-thread1
raw /dev/raw/raw12 /dev/sdb12 #log2-thread1
raw /dev/raw/raw13 /dev/sdb13 #log3-thread2
raw /dev/raw/raw14 /dev/sdb14 #log4-thread2
raw /dev/raw/raw15 /dev/sdb15 #share configuration file
chown -R oracle.dba /dev/raw/raw*
[root@rac1 ~]#
为什么每次机器重新启动后,某些raw设备的属主没有修改为oracle,难道是chown -R oracle.dba /dev/raw/raw* 没有执行吗? |
|