D
Deleted member 93625
Guest
Hi all,
I have a question regarding fstrim on NFS storage. I've configured a Ubuntu Linux box with hardware RAID, installed nfs-kernel-server package and all set. Adding it to Proxmox cluster was not a problem.
I had an old NFS box and I copied all the contents to the new box with rsync (rsync -av). This worked okay, VMs all booted okay but one thing is not working - fstrim. When I ran the command either on VM or new NFS box, it says went okay but the VM disk file size doesn't change on the new NFS box.
Am I doing something wrong? All VMs had discard option on from the beginning. Or, fstrim is not supported on NFS? VM disks are all QCOW2 format. This is a somewhat important question to me as the storage box is actually not that big in terms of its capacity (there are currently only 8 VMs with 60GB VM disk and already almost 600GB was filled). I thought thin provision should show much less than that.
Hope I can get some advice. Thanks.
Eoin
I have a question regarding fstrim on NFS storage. I've configured a Ubuntu Linux box with hardware RAID, installed nfs-kernel-server package and all set. Adding it to Proxmox cluster was not a problem.
I had an old NFS box and I copied all the contents to the new box with rsync (rsync -av). This worked okay, VMs all booted okay but one thing is not working - fstrim. When I ran the command either on VM or new NFS box, it says went okay but the VM disk file size doesn't change on the new NFS box.
Am I doing something wrong? All VMs had discard option on from the beginning. Or, fstrim is not supported on NFS? VM disks are all QCOW2 format. This is a somewhat important question to me as the storage box is actually not that big in terms of its capacity (there are currently only 8 VMs with 60GB VM disk and already almost 600GB was filled). I thought thin provision should show much less than that.
Hope I can get some advice. Thanks.
Eoin