[DRBD-user] weird issue while moving VM's disk to drbdpool
Alex Kolesnik
drbd-user at abisoft.biz
Thu Aug 22 19:06:26 CEST 2019
Hi,
I created a VM on local storage. It starts w/o issues.
root at pve1:~# qm config 102
bootdisk: scsi0
cores: 1
kvm: 0
memory: 512
name: alpine
net0: e1000=BE:50:93:60:F0:A4,bridge=vmbr10
numa: 0
onboot: 1
ostype: l26
scsi0: local:102/vm-102-disk-0.qcow2,size=1052408K
scsihw: virtio-scsi-pci
smbios1: uuid=f63bc00d-9f2f-4596-8940-97075ed1fe58
sockets: 1
vmgenid: f0477673-0b44-4f94-a316-a5c6db5b7d9c
root at pve1:~# qm start 102
root at pve1:~#
Then I moved its virtual hard drive to drbdpool storage and got that strange
syntax error message in the log:
root at pve1:~# qm move_disk 102 scsi0 drbdpool
create full clone of drive scsi0 (local:102/vm-102-disk-0.qcow2)
sh: 1: Syntax error: "(" unexpected
transferred: 0 bytes remaining: 1077665792 bytes total: 1077665792 bytes progression: 0.00 %
transferred: 13578588 bytes remaining: 1064087204 bytes total: 1077665792 bytes progression: 1.26 %
...
transferred: 1077665792 bytes remaining: 0 bytes total: 1077665792 bytes progression: 100.00 %
root at pve1:~#
Now I get it ever time the VM gets started:
root at pve1:~# qm start 102
sh: 1: Syntax error: "(" unexpected
root at pve1:~#
If I move the VM's disk back to the local storage, the error disappears at the
VM startup:
root at pve1:~# qm move_disk 102 scsi0 local
sh: 1: Syntax error: "(" unexpected
create full clone of drive scsi0 (drbdpool:vm-102-disk-1)
Formatting '/var/lib/vz/images/102/vm-102-disk-0.raw', fmt=raw size=1077665792
sh: 1: Syntax error: "(" unexpected
transferred: 0 bytes remaining: 1077665792 bytes total: 1077665792 bytes progression: 0.00 %
...
transferred: 1077665792 bytes remaining: 0 bytes total: 1077665792 bytes progression: 100.00 %
root at pve1:~# qm start 102
root at pve1:~#
Any ideas what's going on here?
--
Best regards,
Alex Kolesnik
More information about the drbd-user
mailing list