[DRBD-user] cannot remove snapshot

Michał Szamocki mszamocki at cirrus.pl
Wed May 16 11:36:08 CEST 2018


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



More information about the drbd-user mailing list