You are not logged in.
When I type:
cat /sys/class/block/sdb/discard_alignment
it returns:
0
So, does this mean the mount flag "discard" doesn't take effect on my system?
Thanks for any help.
Last edited by woodok (2012-09-20 14:46:02)
Offline
I have the same value on my machine using an ssd. However i am sure trim is enabled, because the kernel tells it to me in the logs.
kernel: EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: discard
Just search for 'discard' in your logs. I also tested the method described on askubuntu and it worked.
Last edited by teateawhy (2012-09-16 14:02:49)
Offline
I have taken the test, and got the result just as you said.
Thank you!
Offline