KVM Client EXT4 vs XFS

matthew

Renowned Member
Jul 28, 2011
211
5
83
Have basic proxmox server using two drives in ZFS RAID1 like format. What would be better or more efficient for KVM clients to run on top of this XFS or EXT4?
 
Hi,
I think not that you see an big difference between the filesystem inside the VM (ok, both filesystem have pro and cons depends on the usage).

Mount options and cache-settings are more interesting.


Udo
 
If you will need to resize any xfs FS to a smaller size, you can do it on xfs. For this reason I do not use xfs. Fstrim is show something useful with ext4, like X GB was trimmed . On xfs I see the same value=disk size. Maybe I am wrong, but in my case I can see more RAM usage on xfs compared with xfs (2 VM with the same load/io, services and virtual resurces on 2 identical nodes ).

In my landscape I do not see any advantage from any point of view using xfs. And I use xfs/ext4 exclusive on top of zfs for at least 5 years with many different services (iscsi, gluster, nfs, samba, databases, webservices, mailservers, and many others ...)