[SOLVED] How to copy an raw disk manualy on ZFS

fireon

Distinguished Member
Oct 25, 2010
4,577
539
183
Austria/Graz
deepdoc.at
Hello,

i migrated VMs from plain KVM to Proxmox ZFS. Without ZFS i have done this, this way:

- Import Proxmox VM
- copy manualy the right image to VM (cp /mnt/backup/oldvmiamge.raw /var/lib/vz/images/100/vm-100-disk-1)

How i can to this with an ZFSstorage as target? There are only this files:
Code:
 /dev/zvol/v-machines/vm-101-disk-1

Thanks and best Regards
fireon
 
Last edited:
If the original is raw formatted, can't you just create the vm, then dd the disk image to /dev/zvol/v-machines/vm-101-disk-1? I've not tried it, so test before really doing it.