Martin,<br>
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 <<a href="mailto:mgumbau@iciq.es">mgumbau@iciq.es</a>>:</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> |<br> |<br> |<br> <br> 1 gluterfs client<br> 1 nfs server<br> <br> |<br>
|<br> |<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> type storage/posix<br> option directory /cfs/infi/<br> end-volume<br> <br> volume server<br> type protocol/server<br>
option transport-type tcp/server<br> option auth.ip.brick.allow *<br> 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> type protocol/client<br> option transport-type tcp/client<br> option remote-host server00<br> option remote-subvolume brick<br> end-volume<br> <br> volume sirius01<br> type protocol/client<br> option transport-type tcp/client<br>
option remote-host server01<br> option remote-subvolume brick<br> end-volume<br> <br> volume mirror0<br> type cluster/afr<br> subvolumes server00 server01<br> end-volume<br> <br> #************************************************<br>
# NFS-SERVER<br> #************************************************<br> <br> $ 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's at the other end.