[pve-devel] zfs plugin: creating 2 disks

Adrian Costin adrian.costin at gmail.com
Sat May 3 20:58:43 CEST 2014


Small bug when creating a second disk for the same VM on the same repo:

command '/usr/bin/ssh -o 'BatchMode=yes' -i
/etc/pve/priv/zfs/10.37.64.2_id_rsa root at 10.37.64.2 zfs create -s -b
64k -V 33554432k storage/kvm/vm-1476-disk-1' failed: exit code 1 (500)

Basically it doesn't find that vm-1476-disk-1 already exists. Running
the command manually gives:

cannot create 'storage/kvm/vm-1476-disk-1': dataset already exists

This seems to be related to the fact that I'm using:

pool storage/kvm

in storage.cfg. If I use just the pool name it correctly increments
the ID, however I have need to keep all the images inside a secondary
zfs.

Best regards,
Adrian Costin



More information about the pve-devel mailing list