Thanks for the reply, Sunil. Can you please provide more detail.
Do you mean to include this in the rc.local ? /etc/init.d/o2cb start ocfs2 If we include this in the rc.local, then the service will automatically unmount the ocfs2 fs before shutdown? Thanks again, Reid -----Original Message----- From: Sunil Mushran [mailto:sunil.mush...@oracle.com] Sent: Tuesday, October 27, 2009 4:23 PM To: McKinley, Reid Cc: ocfs2-users@oss.oracle.com; Ramayani, Atul Subject: Re: [Ocfs2-users] /etc/rc.local and /etc/fstab Ensure you have the ocfs2 service enabled so that shutdown will explicitly umount the fs before shutting down the network. McKinley, Reid wrote: > > 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 ******************************************************************************************** _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users