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

Re: [Linux-cluster] Sharing GFS Partition



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


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