[Linux-cluster] Sharing GFS Partition
Lon Hohberger
lhh at redhat.com
Tue Feb 5 19:54:48 UTC 2008
On Tue, 2008-02-05 at 14:42 -0500, Marcos Ferreira da Silva wrote:
> How could I share a partition in a storage with tow nodes running a service?
>
> I create a partition and use mkfs
> mkfs.gfs -r2048 -p lock_dlm -t cluster1:gfsaluno -j 8 /dev/VGALUNO/LVAluno
>
> mount -t gfs /dev/VGALUNO/LVAluno /storage/aluno/
>
> /sbin/mount.gfs: node not a member of the default fence domain
> /sbin/mount.gfs: error mounting lockproto lock_dlm
>
chkconfig --level 2345 fenced on
(for starters). You *must* have fencing.
To make two services share it:
<resources>
<clusterfs ... name="mygfs" />
</resources>
<service name="foo">
<clusterfs ref="mygfs"/>
</service>
<service name="bar">
<clusterfs ref="mygfs"/>
</service>
-- Lon
More information about the Linux-cluster
mailing list