TRIM / discard on Linux
Verification
lsblk --discard
should show non-zero columns
DISC_GRAN
and
DISC-MAX
1
hdparm -I /dev/sdx | grep "TRIM"
will tell you if trim is supported on your
SSD
.
2
[1]
Superuser.com: Is setting 'discard' on a partition exposed through LVM sufficient?
[2]
Unix Stackexchange: When and where to use rw,nofail,noatime,discard,defaults?