Re: Sharing GFS Partition

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

 



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

--
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