ZFS, qcow2, raw

showiproute

Renowned Member
Mar 11, 2020
662
46
68
37
Austria
Hello there,

I am currently migrating from vSphere to Proxmox.
Takes ages to copy all my VMs and the attached storage disks. :)

As a intend to use mostly ZFS I wondered if there is a difference if I'd use qcow2 or raw as the disk format?!
 
You are correct. If ZFS is used as storage, the disks will not be stored as files on the ZFS but directly in ZFS datasets of the type 'volume' which are exposed as block devices.
 
Hi Aaron,

is it possible - in general - to mount the ZFS storage of each VM?
What would be the files which are inside this ZFS dataset? vm-100-disk-1.raw as an example?
 
The ZVOL blockdevices are exposed in /dev/zvol/<pool>/<possible datasets>/<vm-XXX-disk-Y> If there are partition tables that the host recognized you will also have vm-XXX-disk-Y-partZ. Consider this similar to disks exposed as /dev/sda and /dev/sdaX for partitions.
 
Hi Aaron,

thanks for the information!
A complete different question: May I asked if it is possible to update your wiki as I have done a move from vSphere to Proxmox last weekend and would like to write down my "best practice"
 
Unfortunately, we had to restrict registration to our Wiki because of spam at some point.
Therefore, please write an email to office@proxmox.com to get an accout.