Hi all,
I have two issues:
1. When I do a command like dd if=rawfile | pv | dd of=/dev/zfs-pool/vm-disks/vm-109-disk-1 to import 96 GB large disk to Proxmox (the disk is created with 96 GB size), the occupied ZFS space increases for about 188 GB. Is this normal behaviour? I have tried on two different Proxmox hosts with ZFS and the result is the same.
2. I am trying to enable fstrim in linux ubuntu guests. I have changed the disk of the guest to virtio-scsi, added the virtio and virtio_scsi options to the /etc/initramfs-tools/modules and did update-initramfs -u and then rebooted guest. When I run fstrim -v / on guest, it says that it has trimmed 120 Gbytes of data, but the usage on the thin ZFS pool doesn't decrease at all. What am I doing wrong?
I have spent quite some time on those two issues and can't seem to move furher on.
Thank you very much in advance for ideas and suggestions
Mat
I have two issues:
1. When I do a command like dd if=rawfile | pv | dd of=/dev/zfs-pool/vm-disks/vm-109-disk-1 to import 96 GB large disk to Proxmox (the disk is created with 96 GB size), the occupied ZFS space increases for about 188 GB. Is this normal behaviour? I have tried on two different Proxmox hosts with ZFS and the result is the same.
2. I am trying to enable fstrim in linux ubuntu guests. I have changed the disk of the guest to virtio-scsi, added the virtio and virtio_scsi options to the /etc/initramfs-tools/modules and did update-initramfs -u and then rebooted guest. When I run fstrim -v / on guest, it says that it has trimmed 120 Gbytes of data, but the usage on the thin ZFS pool doesn't decrease at all. What am I doing wrong?
I have spent quite some time on those two issues and can't seem to move furher on.
Thank you very much in advance for ideas and suggestions

Mat
Last edited: