PDA

View Full Version : [ubuntu] SSD trim test - getting "f" and not "0"



Ventiti
December 27th, 2012, 10:31 PM
Good evening everybody.

I have a SSD and I followed this test (http://techgage.com/article/enabling_and_testing_ssd_trim_support_under_linux/2/) to discover if trim is enabled. But I did not get "0" at the end but "f". Could someone, please, enlighten me?


Here:

reading sector 119807832: succeeded
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff


Thank you for your help.

dabl
December 27th, 2012, 11:42 PM
Not sure about that test, but if you can find #5 down this long page, I have used that test and confirmed the expected result on 3 SSD's:

http://siduction.org/index.php?module=news&func=display&sid=78&lang=en

linrunner
December 28th, 2012, 12:02 AM
Hi,

does it really matter if there are 0's or f's? The sector's previous contents has been purged and therefore it is TRIMmed now.

Could you show us:

sudo hdparm -I /dev/sda | grep TRIM

Ventiti
December 28th, 2012, 12:10 AM
Thank you all for your answers.

Concerning your first question: I don't really know :)


I get this output:

* Data Set Management TRIM supported (limit 16 blocks)