If I store an VM Image on an ZFS storage I only get RAW as option for image format.
I assume it's because ZFS supports thin provisioning.
I assume it's because ZFS supports thin provisioning.
Never do this because qcow is cow and zfs also.If you want QCOW2 you need to add the storage as "Folder".
As long as you ZFS as a directory storage, then you can store any file, also qcow2 files. But this is NOT recommended, see above.Maybe someone use qcow2 on zfs because of personal reasons like temporary or migration between different storage formats.
Oh yes it does have benefits! Yes, plural!bring no benefit or features.
Yes, do thatmaybe switch to ext4 for my proxmox drives.
If use directory and raw format? Are there any disadvantages to this?Never do this because qcow is cow and zfs also.
A cow fs on a cow fs will kill the performance and bring no benefit or features.
you have no snapshots.Are there any disadvantages to this?
I would use backup/restore.Sometimes need to copy the disk to another machine.
With ZFS ZVOL you will have a raw disk, you just have to read it and transfer it:Sometimes need to copy the disk to another machine.
dd if=/dev/rpool/proxmox/vm-100-disk-1 bs=128k | ssh 1.2.3.4 dd bs=128K of=my-disk.raw
thanks very muchWith ZFS ZVOL you will have a raw disk, you just have to read it and transfer it:
Code:dd if=/dev/rpool/proxmox/vm-100-disk-1 bs=128k | ssh 1.2.3.4 dd bs=128K of=my-disk.raw