Re: Clustering NFS4 with bests practices (bind)

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

 



Hello,

Support respond that is not possible at this time.
I have to write script to bind directories after <fs> mounts.

Other solution is to make one fs per exports... not very simple.

Regards,

-- 
  .`'`.   GouNiNi
 :  ': :  
 `. ` .`  GNU/Linux
   `'`    http://www.geekarea.fr


----- Mail original -----
> De: "GouNiNi" <gounini.geekarea@xxxxxxxxx>
> À: "linux clustering" <linux-cluster@xxxxxxxxxx>
> Envoyé: Mercredi 25 Avril 2012 16:06:38
> Objet:  Clustering NFS4 with bests practices (bind)
> 
> Hello,
> 
> My question is similar with
> http://www.redhat.com/archives/linux-cluster/2007-April/msg00125.html
> but it was in 2007.
> I have a cluster with HALVM + ext3 (no GFS). I need to bind some
> directories in my chroot NFS4 directory for various technical
> reaseon.
> 
> I tried many configurations but no succes. Here is one :
> 
> <resources>
>         <ip address="XX.XX.XX.XX/26" monitor_link="1"/>
>         <lvm lv_name="lv_applis_foobar" name="lv_applis_foobar"
>         vg_name="vg_applis_foobar"/>
>         <fs device="/dev/vg_applis_foobar/lv_applis_foobar"
>         force_unmount="1" fstype="ext3" mountpoint="/applis/foobar"
>         name="fs_applis_foobar"/>
>         <fs device="/applis/foobar" force_unmount="1"
>         mountpoint="/exports/applis/foobar"
>         name="bind_applis_foobar" options="bind"/>
>         <nfsexport name="/exports/applis/foobar"/>
>         <nfsclient fsid="100" name="exp_/exports/applis/foobar"
>         options="rw,sync" path="/exports/applis/foobar"
>         target="*.pma-dstage"/>
> </resources>
> <service autostart="1" domain="data" name="files.foobar.com"
> nfslock="1" recovery="relocate">
>         <lvm ref="lv_applis_foobar">
>                 <fs ref="fs_applis_foobar">
>                         <fs ref="bind_applis_foobar">
>                                 <nfsexport
>                                 ref="/exports/applis/foobar">
>                                         <nfsclient
>                                         ref="exp_/exports/applis/foobar"/>
>                                 </nfsexport>
>                         </fs>
>                 </fs>
>         </lvm>
>         <ip ref="XX.XX.XX.XX/26"/>
> </service>
> 
> Logs say :
> 
> Apr 24 17:53:08 hostname rgmanager[13264]: [fs] start_filesystem:
> Could not match /applis/foobar with a real device
> Apr 24 17:53:15 hostanme rgmanager[11094]: start on fs
> "bind_applis_foobar" returned 2 (invalid argument(s))
> 
> Do you already use bind option in cluster.conf?
> 
> Regards,
> 
> ---
> Jean-Daniel Bonnetot
> 
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
> 

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