Skip to content

Instantly share code, notes, and snippets.

@cyrex562
Forked from limepanda/kvm-migration.txt
Created September 2, 2020 18:10
Show Gist options
  • Save cyrex562/8dd79af0db0947c7062fd560fe188218 to your computer and use it in GitHub Desktop.
Save cyrex562/8dd79af0db0947c7062fd560fe188218 to your computer and use it in GitHub Desktop.
migrate qcow2 image to zfs volume
qemu-img convert -O raw <infile.(vdi|vmdk|$whatever)> /dev/zvol/rpool/data/<vmid>-disk0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment