Hi, I'd like to re-export a glusterfs to a bunch of NFS clients. The server with the mounted glusterfs is running RHEL 5.4. I'd like to use the nfsd in the kernel if possible as the same server is already serving a few other (non glusterfs) NFS shares. On the server, the glusterfs is mounted like this: --- root 13213 0.0 0.0 126924 2000 ? Ssl 23:25 0:00 /usr/sbin/glusterfs --log-level=NORMAL --disable-direct-io-mode --volfile=/etc/glusterfs/localhost-tcp.vol /export/jiv2_0001 --- and the export file looks like this: --- /export/jiv2_0001/HY299 @biotechhosts(rw,no_subtree_check,no_root_squash,fsid=101) --- When a NFS client tries to mount the export, it gets a "permission denied" error. /var/log/messages on the server says: --- mountd[8221]: refused mount request from <NFS client> for /exports/jiv2_0001 (/): not exported --- Any pointers are appreciated. I am running gluster 3.0.5. Steven Lee shl1 at cac.cornell.edu Cornell Center for Advanced Computing
Shehjar Tikoo
2010-Aug-20 05:29 UTC
[Gluster-users] NFS re-export a GlusterFS on RHEL 5.4?
Steven Lee wrote:> Hi, > > I'd like to re-export a glusterfs to a bunch of NFS clients. The > server with the mounted glusterfs is running RHEL 5.4. I'd like to > use the nfsd in the kernel if possible as the same server is already > serving a few other (non glusterfs) NFS shares.We have native nfs serving functionality, i.e. as a translator, that will be part of 3.1 release. In the mean time, you could use the same NFS server from a separate branch that is a lot more stable than the nfs in mainline. Note that this branch is only a beta branch for NFS and not for the remaining 3.1 targeted items like DVM. The usual caveats that go with beta release candidates apply. Thats available at: http://ftp.gluster.com/pub/gluster/glusterfs/qa-releases/nfs-beta/nfs-beta-rc10/ The documentation in there will show you how to export existing non-glusterfs directories also through Gluster NFS server. Of course, you can always email here for questions. -Shehjar> > On the server, the glusterfs is mounted like this: > > --- root 13213 0.0 0.0 126924 2000 ? Ssl 23:25 0:00 > /usr/sbin/glusterfs --log-level=NORMAL --disable-direct-io-mode > --volfile=/etc/glusterfs/localhost-tcp.vol /export/jiv2_0001 --- > > and the export file looks like this: > > --- /export/jiv2_0001/HY299 > @biotechhosts(rw,no_subtree_check,no_root_squash,fsid=101) --- > > When a NFS client tries to mount the export, it gets a "permission > denied" error. /var/log/messages on the server says: > > --- mountd[8221]: refused mount request from <NFS client> for > /exports/jiv2_0001 (/): not exported --- > > Any pointers are appreciated. I am running gluster 3.0.5. > > > Steven Lee shl1 at cac.cornell.edu Cornell Center for Advanced Computing > > > > > > > > > ------------------------------------------------------------------------ > > > _______________________________________________ Gluster-users mailing > list Gluster-users at gluster.org > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users