I have Linux installed on a Dell XPS 9343 with an Samsung PM851 SSD.
I recently read that many SSDs don't support TRIM operations.
So I'd like to check if discard
option effectively works on my system.
At first step, I tried to simply run sudo fstrim --verbose --all
and it reported 41GB trimmed
; this makes me fear because I was expecting a really little value because I have the continuously TRIM enabled (see above); in fact, if I re-run that command again I get O bytes trimmed
. Is it normal? even if I have the discard option in the /etc/fstab?
PS: I tried to follow the proposed solution here but it stucks on the second command due to trim.test: FIBMAP unsupported
.
PS2: it's a flat SSD (no LVM or RAID) with GPT and EXT4 filesystem
sudo fstrim --verbose --all
, it reportsN GB trimmed
, while when I re-run it immediately after, I get0 bytes trimmed
- OP updated to reflect this point – mattia.b89 Aug 28 '16 at 16:34