From 48977cf4c193acbc2e57f2c6a34269faf4723b75 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 8 Jan 2022 16:18:57 -0300 Subject: Feat: TRIM support using image_discards option --- share/provision/debian/basic | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share') diff --git a/share/provision/debian/basic b/share/provision/debian/basic index f3a282c..1ef8e13 100755 --- a/share/provision/debian/basic +++ b/share/provision/debian/basic @@ -75,5 +75,8 @@ fi # Fstrim # See https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files +# See also image_discards kvmxfile option +sudo systemctl enable fstrim.timer +sudo systemctl start fstrim.timer sudo fstrim -av sudo sync -- cgit v1.2.3