[DRBD-user] Linstor | Failed to restore snapshot

Yannis Milios yannis.milios at gmail.com
Fri Aug 24 14:07:15 CEST 2018


I have created a snapshot for a VM by using Proxmox web interface, by using
the previous version of linstor-proxmox plugin (2.8-1).
Today, I upgraded to version 2.9.0-1 , not sure if this problem is
affecting this version as well.

When trying to restore the snapshot from the command line to a new resource
(vm-120-disk-1), as described in the documentation,
I'm getting the error below...

The snapshot was taken on a LVM Thin backend.

Caused by:
==========

Description:
    Failed to restore snapshot [snap_vm-122-disk-1_snap1] from volume
[vm-122-disk-1_00000] to volume [vm-120-disk-1_00000] Command 'lvcreate
--snapshot --name vm-120-disk-1_00000
drbdpool/vm-122-disk-1_00000_snap_vm-122-disk-1_snap1' returned with
exitcode 5.

    Standard out:
      Using default stripesize 64.00 KiB.


    Error message:
      Snapshot origin LV vm-122-disk-1_00000_snap_vm-122-disk-1_snap1 not
found in Volume group drbdpool.


...Where the actual snapshot name in the drbdpool VG is (note the two 00
instead of four above):

LV Name    vm-122-disk-1_00_snap_vm-122-disk-1_snap1

Could this be a bug ?

Thanks
Yannis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180824/d9d2a31a/attachment.htm>


More information about the drbd-user mailing list