Portal Home > Knowledgebase > Articles Database > How to erase a SSD to restore factory performance from Linux


How to erase a SSD to restore factory performance from Linux




Posted by AndyB78, 10-22-2013, 03:23 PM
Hello everyone! Following findings that one of our Samsung 840 Pro SSDs is the most likely cause for extremely poor performance of an mdraid-1 array I'd like to erase the respective SSD. Maybe this will restore a reasonable level of performance. So I'd like to mdadm --manage --fail and --remove on each of the partitions on the respective SSD and then erase it and re-add it into the array. What would be an advisable way to erase the SSD from Linux to restore factory performance? Thanks!

Posted by AndyB78, 10-22-2013, 05:10 PM
By the way, hdparm indicates that both drives are frozen: Security: Master password revision code = 65534 supported not enabled not locked frozen not expired: security count supported: enhanced erase 2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT. Maybe this is because they are now part of an md array.

Posted by AndyB78, 10-23-2013, 04:42 PM
Well, in the end I've performed the secure erase using hdparm according to this tutorial: https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase The only problem was that my SSDs were frozen. To unfreeze, I had to remove the md partitions of the drive in question from the md devices (mdadm --manage /dev/mdx --fail /dev/sdy), hot remove them (--manage...--remove) and remove the cage from the bay. The requirement is a physical hot swap setup. Off topic but interesting: the secure erase of the Samsung SSD has helped tremendously. The read speed increased rougly 2.5 times and the write speed across the array...well...from a pitiful 5-13MB to about 130-140MB/s (the baseboard is a sata2 so the max theoretical speed is about 240MB/s).



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Any Uk reseller hosts? (Views: 778)
confusion (Views: 773)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.