diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-03 14:03:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-03 14:03:38 -0300 |
commit | 237d10ef989fc7bb299708ea52e50e27d59e138b (patch) | |
tree | 55c87ce4224b9bf09b7111e0d8a4a66a0855b6f9 /share | |
parent | 14be54ae3b7f33a684d969bac74fe7aaf4c15100 (diff) | |
download | kvmx-237d10ef989fc7bb299708ea52e50e27d59e138b.tar.gz kvmx-237d10ef989fc7bb299708ea52e50e27d59e138b.tar.bz2 |
Provision: development: TRIM filesystems
Diffstat (limited to 'share')
-rwxr-xr-x | share/provision/development | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/provision/development b/share/provision/development index 9153f64..a53abc7 100755 --- a/share/provision/development +++ b/share/provision/development @@ -68,3 +68,8 @@ if ! grep -q "GRUB_TIMEOUT=1" /etc/default/grub; then sudo sed -i -e 's|GRUB_TIMEOUT=5|GRUB_TIMEOUT=1|' /etc/default/grub sudo update-grub fi + +# Fstrim +# See https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files +sudo fstrim -av +sudo sync |