[Linux-cluster] Correct syntax for gfs entries in /etc/fstab (REHEL 5.2)

Shaun Mccullagh Shaun.Mccullagh at espritxb.nl
Wed Dec 3 12:28:01 UTC 2008


Hi,

Is this entry valid in fstab for two GFS filesystems?

/dev/vg_gfs/main_sites  /san/main_sites         gfs     noauto        0
0
/dev/vg_gfs/main_data   /san/main_data          gfs     noauto        0
0


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.

I edited /etc/init.d/gfs and changed

GFSFSTAB=$(LC_ALL=C awk '!/^#/ && $3 == "gfs" && $4 !~ /noauto/ { print
$2 }' /etc/fstab)

To this

GFSFSTAB=$(LC_ALL=C awk '!/^#/ && $3 == "gfs" && $4 ~ /noauto/ { print
$2 }' /etc/fstab)

I think this correct

But still no joy, in other words     mount -a -t gfs    does not work

I can't see any errors in the message file.

I think something is missing from my fstab entries, but I can't see
what.

Can someone put me right?

TIA

Shaun







Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.espritxb.nl/disclaimer





More information about the Linux-cluster mailing list