Martin,<br>
&nbsp;Please refer to the FUSE docs (README.NFS) about how to get NFS
working for any FUSE based FS. This issue is not specific to GlusterFS.<br>
<br>
avati<br><br><div><span class="gmail_quote">2008/11/4, Martin Gumbau &lt;<a href="mailto:mgumbau@iciq.es">mgumbau@iciq.es</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br> I have a machine that must to reexport glusterfs to nfs.<br> CONFIGURATION<br> <br> 2 glusterfs servers<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br> <br> 1 gluterfs client<br> 1 nfs server<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br> <br> 1 nfs client<br> <br> <br> #***********************************************<br> # GLUSTERFS SERVER<br> #***********************************************<br> # Export with glusterfs<br> $ glusterfs -f /etc/glusterfs/glusterfs-server.vol<br>
 <br> $ cat /etc/glusterfs/glusterfs-server.vol<br> # file: /etc/glusterfs/glusterfs-server.vol<br> volume brick<br>&nbsp;&nbsp;type storage/posix<br>&nbsp;&nbsp;option directory /cfs/infi/<br> end-volume<br> <br> volume server<br>&nbsp;&nbsp;type protocol/server<br>
&nbsp;&nbsp;option transport-type tcp/server<br>&nbsp;&nbsp;option auth.ip.brick.allow *<br>&nbsp;&nbsp;subvolumes brick<br> end-volume<br> <br> #***********************************************<br> # GLUSTERFS CLIENT<br> #***********************************************<br>
 #Mounting glusterfs in client side<br> $ glusterfs -l /var/log/glusterfs/gfscli.log -L DEBUG \<br> --direct-io-mode=DISABLE \<br> -f /etc/glusterfs/glusterfs-client.vol<br> <br> $ cat /etc/glusterfs/glusterfs-client.vol<br>
 volume sirius00<br>&nbsp;&nbsp;type protocol/client<br>&nbsp;&nbsp;option transport-type tcp/client<br>&nbsp;&nbsp;option remote-host server00<br>&nbsp;&nbsp;option remote-subvolume brick<br> end-volume<br> <br> volume sirius01<br>&nbsp;&nbsp;type protocol/client<br>&nbsp;&nbsp;option transport-type tcp/client<br>
&nbsp;&nbsp;option remote-host server01<br>&nbsp;&nbsp;option remote-subvolume brick<br> end-volume<br> <br> volume mirror0<br>&nbsp;&nbsp;type cluster/afr<br>&nbsp;&nbsp;subvolumes server00 server01<br> end-volume<br> <br> #************************************************<br>
 # NFS-SERVER<br> #************************************************<br> <br> $&nbsp;&nbsp;cat /etc/exports<br> # See the exports(5) manpage for a description of the syntax of this<br> file.<br> # This file contains a list of all directories that are to be exported<br>
 to<br> # other computers via NFS (Network File System).<br> # This file used by rpc.nfsd and rpc.mountd. See their manpages for<br> details<br> # on how make changes in this file effective.<br> /mnt/glusterfs *(async,no_root_squash,subtree_check,rw)<br>
 <br> #************************************************<br> # NFS-CLIENT<br> #************************************************<br> <br> $ mount -tnfs ip_nfs_server:/mnt/glusterfs /mnt/gfs2nfs<br> <br> #************************************************<br>
 <br> RESULT:<br> mount: ip_nfs_server:/mnt/glusterfs failed, reason given by server:<br> Permission denied<br> <br> #************************************************<br> <br> NOTE: if I export /mnt/pendrive that is only a directory in NFS-SERVER,<br>
 the NFS-CLIENT mount it without any problem.<br> <br> <br> --<br> Martin Gumbau - <a href="mailto:mgumbau@iciq.es">mgumbau@iciq.es</a><br> Responsable Informatic<br> dels grups teorics<br> de Quimica Computacional<br> del ICIQ<br>
 <br> <br> _______________________________________________<br> Gluster-users mailing list<br> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br> <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
 </blockquote></div><br><br clear="all"><br>-- <br>If I traveled to the end of the rainbow<br>As Dame Fortune did intend,<br>Murphy would be there to tell me<br>The pot&#39;s at the other end.