diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-01-08 16:18:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-01-08 16:18:57 -0300 |
commit | 48977cf4c193acbc2e57f2c6a34269faf4723b75 (patch) | |
tree | 7fcb0597af10f756f12a9eac4a7c342452da792d /share/provision/debian | |
parent | e1a1bd36c6df22ae9c2af75cf07cbd940e824733 (diff) | |
download | kvmx-48977cf4c193acbc2e57f2c6a34269faf4723b75.tar.gz kvmx-48977cf4c193acbc2e57f2c6a34269faf4723b75.tar.bz2 |
Feat: TRIM support using image_discards option
Diffstat (limited to 'share/provision/debian')
-rwxr-xr-x | share/provision/debian/basic | 3 |
1 files changed, 3 insertions, 0 deletions
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 |