[Linux-cluster] Sharing GFS Partition
Marcos Ferreira da Silva
marcos at digitaltecnologia.info
Tue Feb 5 19:42:02 UTC 2008
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
My cluster.conf
<?xml version="1.0" ?>
<cluster alias="cluster1" config_version="16" name="cluster1">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="vserver1.teste.br" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="vserver2.teste.br" nodeid="2" votes="1">
<fence/>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices/>
<rm>
<failoverdomains/>
<resources>
<clusterfs device="/dev/VGALUNO/LVAluno" force_unmount="0" fsid="63078" fstype="gfs" mountpoint="/storage/aluno" name="gfsaluno" options=""/>
</resources>
<service autostart="1" domain="fodAluno" name="teste">
<clusterfs ref="gfsaluno"/>
</service>
</rm>
</cluster>
------------------------------
Marcos Ferreira da Silva
Digital Tecnologia
Uberlandia-MG
(34) 9154-0150 / 3226-2534
More information about the Linux-cluster
mailing list