[Gluster-devel] hello gluster-devel:

Brent A Nelson brent at phys.ufl.edu
Sun Sep 30 04:21:42 UTC 2007


I've tested NFS reexport of GlusterFS and can offer some tips:

1) You must use the fsid=#### option in /etc/exports, or mounts will be 
denied.

2) The FUSE that comes included with the kernel does not include NFS 
reexport capability.  You have to compile the standard FUSE distribution 
or the FUSE from GlusterFS yourself.

3) If you use the enhanced FUSE from the GlusterFS folks (or any FUSE 
2.7+, I believe), you must mount the GlusterFS with the "-d DISABLE" 
option, or writes will come out zero-length and give lots of errors.

4) If your GlusterFS uses AFR with protocol/client and protocol/server, 
use the very latest prerelease code in the TLA repository (I think this is 
slated for the 1.3.3 release).  You may still experience some oddities, 
but it is your best bet and should be reasonably functional.  Other types 
of GlusterFS filesystems (non-AFR) seemed to have no issues at all with 
NFS reexport, so in this situation you ought to e in great shape!

Happy NFSing,

Brent Nelson
Director of Computing
Dept. of Physics
University of Florida

On Sat, 29 Sep 2007, ç¨~Kä»»å~E¨ wrote:

> hello gluster-devel:
>  I encountered some problems when integrate glusterfs with NFS, I
> cannot make them work well.
>
>  I just started one glusterfsd as server and started a glusterfs
> client to mount it at /mnt/glusterfs, and then I use NFS to export
> this directory /mnt/glusterfs, but I found I can't mount the exported
> directory to another system, I'm determined the NFS and the network is
> good, because other directories exported can work well under NFS
> clients, so the problem is glusterfs related, right?
>
> this command would eventually timeout and give permission denied.
>
>  $  mount 192.168.3.200:/mnt/glusterfs /mnt/nfs
>
> I would be grateful if someone could give some pointers.
>
> -- 
> Denis Cheng
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>


More information about the Gluster-devel mailing list