Re: gluster snapshot delete failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Sorry for the incremental updates, but I think I figured it out. The release you are using 3.7.2, doesn't have the fix. The fix is present in the master branch, and the release 3.7 branch of the gluster codebase, but was sent a few days after this particular release was rolled out. Hence the bug(https://bugzilla.redhat.com/show_bug.cgi?id=1232430) is still in MODIFIED state. Once a new release(3.7.3) is rolled out (sometime towards the end of next week), it will contain this fix, this particular bug will me moved to ON_QA.

Regards,
Avra

On 07/17/2015 02:57 PM, Avra Sengupta wrote:
Hi,

On investigating the logs attached to the bug, I see that the failure is in the following section:

[2015-07-16 11:26:31.663354] W [MSGID: 106073] [glusterd-snapshot.c:2634:glusterd_do_lvm_snapshot_remove] 0-management: Lvm is not mounted for brick sphere-one:/run/gluster/snaps/e905ba76967f43efa0220c2283c87057/brick1/brick. Removing lv (/dev/storage_vg/e905ba76967f43efa0220c2283c87057_0). [2015-07-16 11:26:31.684119] E [MSGID: 106044] [glusterd-snapshot.c:2676:glusterd_do_lvm_snapshot_remove] 0-management: removing snapshot of the brick (sphere-one:/run/gluster/snaps/e905ba76967f43efa0220c2283c87057/brick1/brick) of device /dev/storage_vg/e905ba76967f43efa0220c2283c87057_0 failed [2015-07-16 11:26:31.684174] E [MSGID: 106044] [glusterd-snapshot.c:2804:glusterd_lvm_snapshot_remove] 0-management: Failed to remove the snapshot /run/gluster/snaps/e905ba76967f43efa0220c2283c87057/brick1/brick (/dev/storage_vg/e905ba76967f43efa0220c2283c87057_0) [2015-07-16 11:26:31.962264] W [MSGID: 106033] [glusterd-snapshot.c:2850:glusterd_lvm_snapshot_remove] 0-management: Failed to rmdir: /run/gluster/snaps/e905ba76967f43efa0220c2283c87057/, err: Directory not empty. More than one glusterd running on this node. [Directory not empty]

The system assumes(wrongly) that LVM is not mounted for the brick, and so goes ahead with deleting the brick path. But fails, because the directory is not empty. The same issue was happening when the original bug was filed, and was fixed with the fix mentioned. Would it be possible to have a look at your setup, so that we can get a better understanding of what is creating the issue, even with the fix.

Regards,
Avra


On 07/17/2015 02:15 PM, Avra Sengupta wrote:
Hi Richard,

In reference to the issue you are facing on https://bugzilla.redhat.com/show_bug.cgi?id=1232430, could you please also send the output of the mount command on server 1.

Regards,
Avra


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux