I'm still wading into PVE setup as I get my first system stood up. Now I've come across the documentation on trim and dIscard, and there is a lot of information out there, some which may be out of date. I have my VMs running on a RAID1 ZFS pool comprised of 2 SSDs. Let's tackle some items.
1) I plan to set up a weekly job to run trim from the PVE host itself (there's a ready-made cron that does this I've read), as I've been lead to believe that autotrim can lead to poor performance and/or unnecessary SSD wear. Is this the correct approach.
2) I have the VM disks using VirtIO devices, and with discard enabled at the PVE level. Do I need to enable something more at the PVE level? Do I need to enable something more at the guest OS level? My guests are all Linux and Windows. For windows, its all 2019. I'd have to check the Linux guests, but I believe the lowest are some some RHEL7s.
3) I will check to make sure the default scrub job is running.
Are all these correct? Should I so more?
Thanks!
1) I plan to set up a weekly job to run trim from the PVE host itself (there's a ready-made cron that does this I've read), as I've been lead to believe that autotrim can lead to poor performance and/or unnecessary SSD wear. Is this the correct approach.
2) I have the VM disks using VirtIO devices, and with discard enabled at the PVE level. Do I need to enable something more at the PVE level? Do I need to enable something more at the guest OS level? My guests are all Linux and Windows. For windows, its all 2019. I'd have to check the Linux guests, but I believe the lowest are some some RHEL7s.
3) I will check to make sure the default scrub job is running.
Are all these correct? Should I so more?
Thanks!