how to use qcow2 disk with zfs storage

RobFantini

Famous Member
May 24, 2012
2,084
117
133
Boston,Mass
Hello

we zfs storage like this:
Code:
zfspool: kvm-zfs
  pool tank/kvm
  content images
  nodes sys4,sys5,sys3,dell1

Now I have a qcow2 kvm disk Zabbix_2.4_x86_64_13.1.x86_64-2.4.6.qcow2 .

How do I get that to use zfs storage?
 
i was able to get the qcow2 image used in a kvm - using directory storage.

still for future reference it'd be good to know how to convert a kvm image to zfs type storage.
 
If for "zfs storage" you mean that the disk is a volume (block device), you should now be able to "move" from GUI the virtual disk to the "ZFS Plugin type" storage (hardware -> disk -> move disk -> target storage)
 
If for "zfs storage" you mean that the disk is a volume (block device), you should now be able to "move" from GUI the virtual disk to the "ZFS Plugin type" storage (hardware -> disk -> move disk -> target storage)

Thank you, I agree that will work. Still how to move a qcow2 image to 'zfs plugin type' storage from cli should be possible. Next time will check source for the menu option.