Hi,

These volume set options should do the trick

gluster volume set xfsvol nfs.export-dir /subdir

 gluster volume set xfsvol nfs.export-volumes off

Let me know.
-
Anush
________________________________
From: [email protected] [[email protected]] on 
behalf of Thai. Ngo Bao [[email protected]]
Sent: 14 November 2011 15:39:46
To: [email protected]
Subject: [Gluster-users] NFS expose subfolders only

Hi,

AFAIK one can expose subfolders thru gluster NFS for a client if he/she has 
option nfs.export-volumes ON and nfs.export-dir Enable. There will be a case 
(for security purpose)  when people just want to expose only subfolders for 
clients thru NFS.  I wonder if it is possible to expose only subfolders thru 
gluster NFS protocol for a client?

Any insight into this is much appreciated.

Thanks,
~Thai

_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to