Skip to content

Commit

Permalink
Add info about fstrim
Browse files Browse the repository at this point in the history
fstrim also needs to be running on VMs for TRIM to work
  • Loading branch information
muertos authored Dec 6, 2023
1 parent ff55f7b commit 12051bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/tutorials/glance-trim-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ and which are still in use by the guest operating system. As a result, the
device may not be able to efficiently manage the available storage space,
leading to decreased performance over time.

## Enable TRIM in VMs using `fstrim`

Note that to fully benefit from TRIM, it needs to be configured both in the
Glance image using metadata as well as in your VMs using the SystemD service
[`fstrim`](https://www.man7.org/linux/man-pages/man8/fstrim.8.html). By
default, this service runs weekly.

## Intro to virtio-scsi

Virtio-scsi is a virtualization interface that allows virtual machines (VMs)
Expand Down

0 comments on commit 12051bc

Please sign in to comment.