[DRBD-user] cannot remove snapshot

Yannis Milios yannis.milios at gmail.com
Wed May 16 13:20:53 CEST 2018


First make sure your DRBD cluster is in healthy state, that is, all drbd
control volumes are in "normal" status.

Then, I would use "drbdmanage resume-all" to resume all pending operations
first. If that fails, then I would use "drbdmanage remove-snapshot -f
resource snapshot" to force remove then snapshot from DRBD cluster.

On Wed, May 16, 2018 at 11:36 AM, Michał Szamocki <mszamocki at cirrus.pl>
wrote:

> Hello,
>
> My cluster shows a snapshot I can't remove:
>
> # drbdmanage s
> +-----------------------------------------------------------
> -------------------------------------------------+
> | Resource      | Name                      |
>                           | State |
> |-----------------------------------------------------------
> -------------------------------------------------|
> | vm-112-disk-1 | snap_vm-112-disk-1_vzdump |
>                           |   n/a |
> +-----------------------------------------------------------
> -------------------------------------------------+
>
> How can I remove information about snapshot from ctrlvol?
>
>
> It was already removed on LVM level:
>
> # lvs | grep vm-112
>   vm-112-disk-1_00 drbdpool Vwi-aotz-- 120,12g drbdthinpool        94,31
>
>
> I can't create new snapshot:
>
> # /usr/bin/drbdmanage create-snapshot snap_vm-112-disk-1_vzdump
> vm-112-disk-1 adelaide
> Error: Object already exists
>
> I found errors in syslog:
> May 12 07:52:00 adelaide drbdmanaged[3404]: ERROR      Failed to remove
> snapshot snap_vm-112-disk-1_vzdump #0 block device
> 'vm-112-disk-1.snap_vm-112-disk-1_vzdump_00'
> May 12 07:54:16 adelaide drbdmanaged[3404]: ERROR      Failed to remove
> snapshot snap_vm-112-disk-1_vzdump #0 block device
> 'vm-112-disk-1.snap_vm-112-disk-1_vzdump_00'
>
> BR,
> Michał Szamocki
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180516/e1fedae6/attachment.htm>


More information about the drbd-user mailing list