<div dir="ltr">Hi Richard, <div><br></div><div>Thanks for posting this.<div><br></div><div>This issues is caused as part of the regression in 3.12.0 version [1], and is already fixed in 3.12.3 [2] version (3.12.3 is tagged now with couple of more subdirectory mount related fixes).</div><div><br></div><div>[1] - <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1501235">https://bugzilla.redhat.com/show_bug.cgi?id=1501235</a></div><div>[2] - <a href="https://review.gluster.org/#/c/18506/">https://review.gluster.org/#/c/18506/</a></div><div><br></div><div>If you don&#39;t want to change the versions, then please remove the check for &#39;subdir-mount&#39; in &#39;/sbin/mount.glusterfs&#39; and it will all work fine.</div><div><br></div><div>Regards,</div><div>Amar</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 2:50 PM, Richard Neuboeck <span dir="ltr">&lt;<a href="mailto:hawk@tbi.univie.ac.at" target="_blank">hawk@tbi.univie.ac.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
quick question about snapshot mounting: Were there changes in 3.12 that<br>
were not mentioned in the release notes for snapshot mounting?<br>
I recently upgraded from 3.10 to 3.12 on CentOS (using<br>
centos-release-gluster312). The upgrade worked flawless. The volume<br>
works fine too. But mounting a snapshot fails with those two error messages:<br>
<br>
[2017-11-13 08:46:02.300719] E [glusterfsd-mgmt.c:1796:mgmt_<wbr>getspec_cbk]<br>
0-glusterfs: failed to get the &#39;volume file&#39; from server<br>
[2017-11-13 08:46:02.300744] E [glusterfsd-mgmt.c:1932:mgmt_<wbr>getspec_cbk]<br>
0-mgmt: failed to fetch volume file (key:snaps)<br>
<br>
Up to the mounting everything works as before:<br>
# gluster snapshot create test home no-timestamp<br>
# gluster snapshot activate test<br>
# gluster snapshot info test<br>
Snapshot                  : test<br>
Snap UUID                 : 1c07aed0-32f4-4e6b-b5bc-<wbr>226578fb78e3<br>
Created                   : 2017-11-13 08:22:07<br>
Snap Volumes:<br>
<br>
        Snap Volume Name          : b19a36dd16dd466985fbb0681539fe<wbr>71<br>
        Origin Volume name        : home<br>
        Snaps taken for home      : 1<br>
        Snaps available for home  : 255<br>
        Status                    : Started<br>
# mount -t glusterfs sphere-four:/snaps/test/home /mnt/temp/<br>
Mount failed. Please check the log file for more details.<br>
<br>
The log shows the following:<br>
[2017-11-13 08:46:02.289163] I [MSGID: 100030] [glusterfsd.c:2496:main]<br>
0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version<br>
3.12.1 (args: /usr/sbin/glusterfs --volfile-server=sphere-four<br>
--volfile-id=snaps --subdir-mount=/test/home /mnt/temp)<br>
[2017-11-13 08:46:02.292629] W [MSGID: 101002]<br>
[options.c:995:xl_opt_<wbr>validate] 0-glusterfs: option &#39;address-family&#39; is<br>
deprecated, preferred is &#39;transport.address-family&#39;, continuing with<br>
correction<br>
[2017-11-13 08:46:02.298278] I [MSGID: 101190]<br>
[event-epoll.c:613:event_<wbr>dispatch_epoll_worker] 0-epoll: Started thread<br>
with index 1<br>
[2017-11-13 08:46:02.300719] E [glusterfsd-mgmt.c:1796:mgmt_<wbr>getspec_cbk]<br>
0-glusterfs: failed to get the &#39;volume file&#39; from server<br>
[2017-11-13 08:46:02.300744] E [glusterfsd-mgmt.c:1932:mgmt_<wbr>getspec_cbk]<br>
0-mgmt: failed to fetch volume file (key:snaps)<br>
[2017-11-13 08:46:02.300903] W [glusterfsd.c:1347:cleanup_<wbr>and_exit]<br>
(--&gt;/lib64/libgfrpc.so.0(rpc_<wbr>clnt_handle_reply+0x90) [0x7feb51ed9e60]<br>
--&gt;/usr/sbin/glusterfs(mgmt_<wbr>getspec_cbk+0x680) [0x55a5dbb97ef0]<br>
--&gt;/usr/sbin/glusterfs(<wbr>cleanup_and_exit+0x6b) [0x55a5dbb9118b] ) 0-:<br>
received signum (0), shutting down<br>
[2017-11-13 08:46:02.300928] I [fuse-bridge.c:5833:fini] 0-fuse:<br>
Unmounting &#39;/mnt/temp&#39;.<br>
[2017-11-13 08:46:02.308875] I [fuse-bridge.c:5838:fini] 0-fuse: Closing<br>
fuse connection to &#39;/mnt/temp&#39;.<br>
[2017-11-13 08:46:02.308987] W [glusterfsd.c:1347:cleanup_<wbr>and_exit]<br>
(--&gt;/lib64/libpthread.so.0(+<wbr>0x7e25) [0x7feb50f70e25]<br>
--&gt;/usr/sbin/glusterfs(<wbr>glusterfs_sigwaiter+0xe5) [0x55a5dbb91365]<br>
--&gt;/usr/sbin/glusterfs(<wbr>cleanup_and_exit+0x6b) [0x55a5dbb9118b] ) 0-:<br>
received signum (15), shutting down<br>
<br>
Google was no help so far. Since the mount worked before the upgrade I&#39;m<br>
puzzled. What am I missing?<br>
<br>
Thanks a lot!<br>
<span class="HOEnZb"><font color="#888888">Richard<br>
<br>
</font></span><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div>
</div>