[Gluster-users] Mounting volume subdirectories via gluster client

Anthony Delviscio adelviscio at gmail.com
Fri Apr 22 16:24:43 UTC 2011


Using this link as a reference:
http://www.gluster.com/community/documentation/index.php/Gluster_3.1:_Manually_Mounting_Volumes
The examples show the Gluster client is capable of mounting the top most
directory of the volume.  Is it possible to mount sub directories of a
volume via "mount -t glusterfs" or am I limited to doing this only by NFS?

For example:
# mount -t glusterfs *HOSTNAME-OR-IPADDRESS:/VOLNAME/subdir1/subdir2* /*
MOUNTDIR*
*
*
My attempts at trying to mount a sub dir results in an error.  Based on the
errors I see in log files and segments of code in client-handshake.c and
glusterfsd-mgmt.c (source version 3.1.3), it seems like gluster treats
"/VOLNAME/subdir1/subdir2" as the key/name of the volume when trying to find
volume.vol to send back to the client (FWIW, I'm not 100% sure that this is
correct as I briefly looked at a few source files pertaining to client
access).

If this feature is not available, is it due to the client potentially not
making the most efficient use of its resources (sockets - depending on
number of gluster nodes and number of mounted subdirectories)?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110422/3507fa29/attachment.html>


More information about the Gluster-users mailing list