Which filesystem shoud I choose for a Linux guest?
I am running various Linux guests on Proxmox 6 with a ZFS Storage. The storage is usually configured as either mirror or raidz2, both with compression "on". The guest storage is usually set to SCSI on VirtIO SCSI controller with "discard" enables, aka. thin provisioning.
Depending on the Linux flavor of the guest, different filesystems are the default:
Despite the default setting, many Linux flavors would also support other filesystems, e.g., ext3/4 is supported by nearly everyone. But which one to choose?
Just a clarification: I do not want to discuss different features supported by each FS. For what most guests VMs are used for, the exact filesystem used does not matter in terms of features. I am only interested in the interaction between guest FS and the ZFS underlay.
How will each interact with ZFS? Bandwidth penality? IOPS penality?
Are some better than others?
Do I have to "align" blocksizes of guest FS with ZFS?
Is it a big deal that ZFS compression is enabled?
I am running various Linux guests on Proxmox 6 with a ZFS Storage. The storage is usually configured as either mirror or raidz2, both with compression "on". The guest storage is usually set to SCSI on VirtIO SCSI controller with "discard" enables, aka. thin provisioning.
Depending on the Linux flavor of the guest, different filesystems are the default:
- ext4 (with or without LVM) on Debian/Ubuntu
- XFS on CentoOS
- btrfs on OpenSuse
- ZFS usually not a default, but supported by many.
Despite the default setting, many Linux flavors would also support other filesystems, e.g., ext3/4 is supported by nearly everyone. But which one to choose?
Just a clarification: I do not want to discuss different features supported by each FS. For what most guests VMs are used for, the exact filesystem used does not matter in terms of features. I am only interested in the interaction between guest FS and the ZFS underlay.
How will each interact with ZFS? Bandwidth penality? IOPS penality?
Are some better than others?
Do I have to "align" blocksizes of guest FS with ZFS?
Is it a big deal that ZFS compression is enabled?