[DRBD-user] LINSTOR - Proxmox 5.3 Plugin LvmDriver Restore backup error

AlessanT77 alessant77 at gmail.com
Sat Dec 8 22:49:47 CET 2018


Hi,

  Using LvmDriver give error restoring backup.
  With LvmThinDriver works.

╭───────────────────────────────────────────────────────╮
┊ Node ┊ NodeType  ┊ Addresses                 ┊ State  ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ pve1 ┊ SATELLITE ┊ 10.128.1.221:3366 (PLAIN) ┊ Online ┊
┊ pve2 ┊ SATELLITE ┊ 10.128.1.222:3366 (PLAIN) ┊ Online ┊
╰───────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool ┊ Node ┊ Driver    ┊ PoolName ┊ FreeCapacity ┊ TotalCapacity
┊ SupportsSnapshots ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ drbdpool    ┊ pve1 ┊ LvmDriver ┊ vg_hdd   ┊   190.99 GiB ┊    200.00 GiB
┊ false             ┊
┊ drbdpool    ┊ pve2 ┊ LvmDriver ┊ vg_hdd   ┊   190.99 GiB ┊    200.00 GiB
┊ false             ┊
╰──────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────╮
┊ ResourceName  ┊ Node ┊ Port ┊ Usage  ┊    State ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ vm-100-disk-1 ┊ pve1 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ vm-100-disk-1 ┊ pve2 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ vm-200-disk-1 ┊ pve1 ┊ 7001 ┊        ┊ DELETING ┊
┊ vm-200-disk-1 ┊ pve2 ┊ 7001 ┊        ┊ DELETING ┊
╰─────────────────────────────────────────────────╯

Virtual Environment 5.3-5
> Storage 'nfs' on node 'pve1'
> Search:
> Logs
> ()
> restore vma archive: lzop -d -c
> /mnt/pve/nfs/dump/vzdump-qemu-4002-2018_11_24-00_27_10.vma.lzo | vma
> extract -v -r /var/tmp/vzdumptmp13141.fifo - /var/tmp/vzdumptmp13141
> CFG: size: 391 name: qemu-server.conf
> DEV: dev_id=1 size: 8589934592 devname: drive-scsi0
> CTIME: Sat Nov 24 00:27:11 2018
> SUCCESS:
> Description:
>     New resource definition 'vm-200-disk-1' created.
> Details:
>     Resource definition 'vm-200-disk-1' UUID is:
> bcf9a7f3-d617-4280-919b-083178d0b184
> SUCCESS:
> Description:
>     Resource definition 'vm-200-disk-1' modified.
> Details:
>     Resource definition 'vm-200-disk-1' UUID is:
> bcf9a7f3-d617-4280-919b-083178d0b184
> SUCCESS:
>     New volume definition with number '0' of resource definition
> 'vm-200-disk-1' created.
> SUCCESS:
> Description:
>     Resource 'vm-200-disk-1' successfully autoplaced on 2 nodes
> Details:
>     Used storage pool: 'drbdpool'
>     Used nodes: 'pve1', 'pve2'
> SUCCESS:
>     Created resource 'vm-200-disk-1' on 'pve2'
> SUCCESS:
>     Created resource 'vm-200-disk-1' on 'pve1'
> SUCCESS:
> Description:
>     Resource 'vm-200-disk-1' on 'pve2' ready
> Details:
>     Auto-placing resource: vm-200-disk-1
> SUCCESS:
> Description:
>     Resource 'vm-200-disk-1' on 'pve1' ready
> Details:
>     Auto-placing resource: vm-200-disk-1
> new volume ID is 'drbdstorage:vm-200-disk-1'
> map 'drive-scsi0' to '/dev/drbd/by-res/vm-200-disk-1/0' (write zeros = 1)
>
> ** (process:13144): ERROR **: can't open file
> /dev/drbd/by-res/vm-200-disk-1/0 - Could not open
> '/dev/drbd/by-res/vm-200-disk-1/0': Read-only file system
> /bin/bash: line 1: 13143 Broken pipe             lzop -d -c
> /mnt/pve/nfs/dump/vzdump-qemu-4002-2018_11_24-00_27_10.vma.lzo
>      13144 Trace/breakpoint trap   | vma extract -v -r
> /var/tmp/vzdumptmp13141.fifo - /var/tmp/vzdumptmp13141
> SUCCESS:
> Description:
>     Resource definition 'vm-200-disk-1' marked for deletion.
> Details:
>     Resource definition 'vm-200-disk-1' UUID is:
> bcf9a7f3-d617-4280-919b-083178d0b184
> SUCCESS:
>     Resource 'vm-200-disk-1' on 'pve2' deleted
> SUCCESS:
>     Resource 'vm-200-disk-1' on 'pve1' deleted
> SUCCESS:
> Description:
>     Resource definition 'vm-200-disk-1' deleted.
> Details:
>     Resource definition 'vm-200-disk-1' UUID was:
> bcf9a7f3-d617-4280-919b-083178d0b184
> temporary volume 'drbdstorage:vm-200-disk-1' sucessfuly removed
> no lock found trying to remove 'create'  lock
> TASK ERROR: command 'set -o pipefail && lzop -d -c
> /mnt/pve/nfs/dump/vzdump-qemu-4002-2018_11_24-00_27_10.vma.lzo | vma
> extract -v -r /var/tmp/vzdumptmp13141.fifo - /var/tmp/vzdumptmp13141'
> failed: exit code 133
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20181208/b2b85e02/attachment.htm>


More information about the drbd-user mailing list