Alexandr Porunov
2016-Nov-26 17:28 UTC
[Gluster-users] How to mount shared_storage on boot? (failed to fetch volume file (key:shared_storage))
Hello, After cluster reboot shared storage cannot be mounted (i.e. reboot of all machines). Here is what I see in a log file /var/log/glusterfs/run-gluster-shared_storage.log: [2016-11-26 17:20:43.693490] I [MSGID: 100030] [glusterfsd.c:2454:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.8.5 (args: /usr/sbin/glusterfs --volfile-server=192.168.0.120 --volfile-id=shared_storage /run/gluster/shared_storage) [2016-11-26 17:20:43.719716] I [MSGID: 101190] [event-epoll.c:628:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1 [2016-11-26 17:20:43.721715] E [glusterfsd-mgmt.c:1586:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server [2016-11-26 17:20:43.721744] E [glusterfsd-mgmt.c:1686:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:shared_storage) [2016-11-26 17:20:43.721957] W [glusterfsd.c:1327:cleanup_and_exit] (-->/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0x90) [0x7f74d56aa770] -->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x536) [0x7f74d5ddbfc6] -->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x7f74d5dd5b4b] ) 0-: received signum (0), shutting down [2016-11-26 17:20:43.722004] I [fuse-bridge.c:5793:fini] 0-fuse: Unmounting '/run/gluster/shared_storage'. I tried to mount it manually but without success: # mount -t glusterfs 192.168.0.120:shared_storage /run/gluster/shared_storage/ Mount failed. Please check the log file for more details. Please, help me to figure out what is wrong with shared storage. Sincerely, Alexandr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161126/232f8eb5/attachment.html>
Alexandr Porunov
2016-Nov-26 17:37 UTC
[Gluster-users] How to mount shared_storage on boot? (failed to fetch volume file (key:shared_storage))
Sorry for my mistakes. It have to be "gluster_shared_storage" not "shared_storage". I.e.: mount -t glusterfs 192.168.0.120:gluster_shared_storage /run/gluster/shared_storage/ Sincerely, Alexandr On Sat, Nov 26, 2016 at 7:28 PM, Alexandr Porunov < alexandr.porunov at gmail.com> wrote:> Hello, > After cluster reboot shared storage cannot be mounted (i.e. reboot of all > machines). Here is what I see in a log file /var/log/glusterfs/run- > gluster-shared_storage.log: > > [2016-11-26 17:20:43.693490] I [MSGID: 100030] [glusterfsd.c:2454:main] > 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.8.5 > (args: /usr/sbin/glusterfs --volfile-server=192.168.0.120 > --volfile-id=shared_storage /run/gluster/shared_storage) > [2016-11-26 17:20:43.719716] I [MSGID: 101190] [event-epoll.c:628:event_dispatch_epoll_worker] > 0-epoll: Started thread with index 1 > [2016-11-26 17:20:43.721715] E [glusterfsd-mgmt.c:1586:mgmt_getspec_cbk] > 0-glusterfs: failed to get the 'volume file' from server > [2016-11-26 17:20:43.721744] E [glusterfsd-mgmt.c:1686:mgmt_getspec_cbk] > 0-mgmt: failed to fetch volume file (key:shared_storage) > [2016-11-26 17:20:43.721957] W [glusterfsd.c:1327:cleanup_and_exit] > (-->/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0x90) [0x7f74d56aa770] > -->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x536) [0x7f74d5ddbfc6] > -->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x7f74d5dd5b4b] ) 0-: > received signum (0), shutting down > [2016-11-26 17:20:43.722004] I [fuse-bridge.c:5793:fini] 0-fuse: > Unmounting '/run/gluster/shared_storage'. > > I tried to mount it manually but without success: > # mount -t glusterfs 192.168.0.120:shared_storage > /run/gluster/shared_storage/ > Mount failed. Please check the log file for more details. > > Please, help me to figure out what is wrong with shared storage. > > Sincerely, > Alexandr >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161126/1b4ef877/attachment.html>