Upon system boot, is it ok to mount OCFS2 mounts from /etc/rc.local
rather than /etc/fstab ?
Are there any downsides to using rc.local that you are aware of?
Example /etc/rc.local script:
#!/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
modprobe hangcheck-timer hangcheck_tick=1 hangcheck_margin=10
hangcheck_reboot=1
mount -t ocfs2 -o datavolume,nointr,_netdev,noatime /dev/mapper/mpath0
/u02
mount -t ocfs2 -o datavolume,nointr,_netdev /dev/mapper/mpath1 /u03
Thanks!
-Reid
Reid McKinley
********************************************************************************************
This message, including any attachments, contains confidential information
intended
for a specific individual and purpose, and is protected by law. If you are not
the intended
recipient, please contact the sender immediately by reply e-mail and destroy all
copies.
You are hereby notified that any disclosure, copying, or distribution of this
message, or
the taking of any action based on it, is strictly prohibited.
TIAA-CREF
********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://oss.oracle.com/pipermail/ocfs2-users/attachments/20091027/333b2765/attachment-0001.html