Why Glusterd daemon is not operational due to snapshot conflicting with nfs-ganesha config file exist in "/var/lib/glusterd/snaps" ?

Solution Verified - Updated -

Issue

  • Why Glusterd daemon is not operational due to snapshot conflicting with nfs-ganesha config file exist in "/var/lib/glusterd/snaps" ?

~Snippet from glusterd logs,

[2016-03-14 13:15:04.697898] E [MSGID: 101032] [store.c:435:gf_store_handle_retrieve] 0-: Path corresponding to /var/lib/glusterd/snaps/Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01/export.Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01.conf/info. [Not a directory]   <<=============
[2016-03-14 13:15:04.697924] D [MSGID: 0] [store.c:440:gf_store_handle_retrieve] 0-: Returning -1
[2016-03-14 13:15:04.697933] E [MSGID: 106200] [glusterd-store.c:2550:glusterd_store_update_volinfo] 0-management: volinfo handle is NULL
[2016-03-14 13:15:04.697939] E [MSGID: 106207] [glusterd-store.c:2848:glusterd_store_retrieve_volume] 0-management: Failed to update volinfo for export.Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01.conf volume    <<===========
[2016-03-14 13:15:04.697945] D [MSGID: 0] [glusterd-utils.c:893:glusterd_volume_brickinfos_delete] 0-management: Returning 0
[2016-03-14 13:15:04.697950] D [MSGID: 0] [store.c:461:gf_store_handle_destroy] 0-: Returning 0
[2016-03-14 13:15:04.697963] D [MSGID: 0] [glusterd-utils.c:937:glusterd_volinfo_delete] 0-management: Returning 0
[2016-03-14 13:15:04.697971] E [MSGID: 106201] [glusterd-store.c:3046:glusterd_store_retrieve_volumes] 0-management: Unable to restore volume: export.Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01.conf
[2016-03-14 13:15:04.697985] D [MSGID: 0] [glusterd-store.c:3071:glusterd_store_retrieve_volumes] 0-management: Returning with -1
[2016-03-14 13:15:04.697990] E [MSGID: 106195] [glusterd-store.c:3439:glusterd_store_retrieve_snap] 0-management: Failed to retrieve snap volumes for snap Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01
[2016-03-14 13:15:04.697995] E [MSGID: 106043] [glusterd-store.c:3593:glusterd_store_retrieve_snaps] 0-management: Unable to restore snapshot: Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01
[2016-03-14 13:15:04.698002] D [MSGID: 0] [glusterd-store.c:3611:glusterd_store_retrieve_snaps] 0-management: Returning with -1
[2016-03-14 13:15:04.698007] D [MSGID: 0] [glusterd-store.c:4343:glusterd_restore] 0-management: Returning -1
[2016-03-14 13:15:04.698022] E [MSGID: 101019] [xlator.c:428:xlator_init] 0-management: Initialization of volume 'management' failed, review your volfile again
[2016-03-14 13:15:04.698028] E [graph.c:322:glusterfs_graph_init] 0-management: initializing translator failed    <<==============
[2016-03-14 13:15:04.698032] E [graph.c:661:glusterfs_graph_activate] 0-graph: init failed

~Snippet from snapshot list,

[root@node1 ~]# snap_scheduler.py list
JOB_NAME           SCHEDULE           OPERATION          VOLUME NAME
----------------------------------------------------------------------------
Job-test-1     0 */12 * * *       Snapshot Create    test
[root@node1 ~]# gluster snap list
Scheduled-Job-test-1-test_GMT-2016.03.14-11.00.01

Environment

  • Red Hat Gluster Storage 3.1 Update 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.