[Linux-cluster] Correct syntax for gfs entries in /etc/fstab (REHEL 5.2)
rpeterso at redhat.com
Wed Dec 3 15:00:21 UTC 2008
----- "Shaun Mccullagh" <Shaun.Mccullagh at espritxb.nl> wrote:
| Is this entry valid in fstab for two GFS filesystems?
| /dev/vg_gfs/main_sites /san/main_sites gfs noauto
| /dev/vg_gfs/main_data /san/main_data gfs noauto
| If I exec mount /san/main_data and mount /san/main_sites
| these commands work fine, both GFS filesystems are mounted correctly.
| However if I exec service gfs start
| The gfs filesystems are not mounted.
If you want the gfs file systems to be mounted at boot time, get rid
of the noauto in fstab (and leave the gfs init script the way it was).
Same goes for if you run the gfs init script manually.
Entries in fstab for GFS are not mounted until after the cluster is
running, which is why we have a separate gfs init script that runs
after the cman and clvmd scripts. It's designed to process the gfs
entries in fstab that were ignored before the cluster was up, but it
treats the noauto mount option the same as the other mounts, meaning
it won't mount them when the script runs if they have noauto.
Red Hat GFS
More information about the Linux-cluster