Correct syntax for gfs entries in /etc/fstab (REHEL 5.2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux