<div dir="ltr"><div>First make sure your DRBD cluster is in healthy state, that is, all drbd control volumes are in "normal" status.</div><div><br></div><div>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. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 16, 2018 at 11:36 AM, Michał Szamocki <span dir="ltr"><<a href="mailto:mszamocki@cirrus.pl" target="_blank">mszamocki@cirrus.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
My cluster shows a snapshot I can't remove:<br>
<br>
# drbdmanage s<br>
+-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------------------+<br>
| Resource | Name | | State |<br>
|-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------------------|<br>
| vm-112-disk-1 | snap_vm-112-disk-1_vzdump | | n/a |<br>
+-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------------------+<br>
<br>
How can I remove information about snapshot from ctrlvol?<br>
<br>
<br>
It was already removed on LVM level:<br>
<br>
# lvs | grep vm-112<br>
vm-112-disk-1_00 drbdpool Vwi-aotz-- 120,12g drbdthinpool 94,31 <br>
<br>
I can't create new snapshot:<br>
<br>
# /usr/bin/drbdmanage create-snapshot snap_vm-112-disk-1_vzdump vm-112-disk-1 adelaide<br>
Error: Object already exists<br>
<br>
I found errors in syslog:<br>
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-<wbr>disk-1_vzdump_00'<br>
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-<wbr>disk-1_vzdump_00'<br>
<br>
BR,<br>
Michał Szamocki<br>
<br>
______________________________<wbr>_________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">http://lists.linbit.com/<wbr>mailman/listinfo/drbd-user</a><br>
</blockquote></div><br></div>