Description of problem: When mounting a volume with the native client, you cannot specify a subdirectory. Version-Release number of selected component (if applicable): 3.3.0 How reproducible: Every time Steps to Reproduce: 1. mount -t glusterfs <glusterhost>:/<volume>/<path> 2. 3. Actual results: Logs below Expected results: Mounting a path should work similar to an nfs mount. Additional info: [2013-01-07 16:44:03.565471] I [glusterfsd.c:1666:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.3.1 [2013-01-07 16:44:03.598470] E [glusterfsd-mgmt.c:1559:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server [2013-01-07 16:44:03.598584] E [glusterfsd-mgmt.c:1627:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/exporter/exporter) [2013-01-07 16:44:03.598926] W [glusterfsd.c:831:cleanup_and_exit] (-->/usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0x120) [0x32e0e0f8b0] (-->/usr/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5) [0x32e0e0f0b5] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x292) [0x40c9d2]))) 0-: received signum (0), shutting down [2013-01-07 16:44:03.598975] I [fuse-bridge.c:4648:fini] 0-fuse: Unmounting '/appdata/exporter'. In this case the volume is called "exporter". I was trying to create directories underneath to have separate paths on different servers so the whole volume wasn't mounted on every server. If I could mount different paths I can have a centralized and shared gluster implementation that I can scale centrally. Additional gluster systems and/or additional bricks/volumes adds a bunch more effort. In the mean time, im going to create separate LVM based bricks and on top of those create separate volumes. This way I can scale up volumes separately.
this is known issue as of now, and
http://review.gluster.org/10186 has been posted for review.
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#3) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#4) for review on master by Anand Avati (avati)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#5) for review on master by Kaleb KEITHLEY (kkeithle)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#6) for review on master by Raghavendra G (rgowdapp)
because of the large number of bugs filed against mainline version\ is ambiguous and about to be removed as a choice. If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.
As we are looking to add this support in 3.8, moving the status of this bugzilla to open.
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#7) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#8) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#9) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#10) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/13404 (mount/fuse: Return correct errno for resolution failures) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/13404 (mount/fuse: Return correct errno for resolution failures) posted (#2) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/10186 (fuse: support subdirectory mounts) posted (#11) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: http://review.gluster.org/13659 (protocol/server (mostly): add subdirectory mounting support) posted (#1) for review on master by Jeff Darcy (jdarcy)
REVIEW: http://review.gluster.org/13659 (protocol/server (mostly): add subdirectory mounting support) posted (#2) for review on master by Jeff Darcy (jdarcy)
REVIEW: http://review.gluster.org/13659 (protocol/server (mostly): add subdirectory mounting support) posted (#3) for review on master by Jeff Darcy (jdarcy)
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
This didnt make it for GlusterFS 3.8, moving out of the tracking tree.
Pranith : As we targetting this for 3.9 ? What is the current progress ? I don't see activity from long time. Do we have something going on parallely in different bug?
hi Bipin, We had two solutions: 1) http://review.gluster.org/10186 but the solution proved to be dead-end. 2) http://review.gluster.org/13659 this solution also proved to be a dead-end because existing locks feature won't work with this approach. Jeff, Shyam, Vijay and I just finalized on an approach we all liked just 2 weeks back, but this is not going to make it for 3.9.0 I will be sending the first cut of the design this week on gluster-devel Pranith
Any news on this guys?
(In reply to Radek Antoniuk from comment #30) > Any news on this guys? hi, We discussed about this in the last gluster summit. There are two solutions one from Facebook guys and the other from the guys in Redhat. Both of them have different plus points. We need to finalize on the best parts from both of these solutions and implement it. Pranith
Wondering if there has been any new developments on this feature, I could really use this in my current environment. Best, Gianni
Yes, there is indeed. https://github.com/gluster/glusterfs/issues/175 has more update. Upstream patch https://review.gluster.org/17141 fixes the feature. It is not yet merged. Feel free to check if this work for you. -Amar