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

[Linux-cluster] Sharing GFS Partition

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"/>
                <clusternode name="vserver1.teste.br" nodeid="1" votes="1">
                <clusternode name="vserver2.teste.br" nodeid="2" votes="1">
        <cman expected_votes="1" two_node="1"/>
                        <clusterfs device="/dev/VGALUNO/LVAluno" force_unmount="0" fsid="63078" fstype="gfs" mountpoint="/storage/aluno" name="gfsaluno" options=""/>
                <service autostart="1" domain="fodAluno" name="teste">
                        <clusterfs ref="gfsaluno"/>

Marcos Ferreira da Silva
Digital Tecnologia
(34) 9154-0150 / 3226-2534

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