Chris Murphy posted on Mon, 23 Jun 2014 23:19:37 -0600 as excerpted: >> I zeroed out the drive and ran every smartctl test on it I could find >> and it never threw any more errors. > > Zeroing SSDs isn't a good way to do it. Use ATA Secure Erase instead. > The drive is overprovisioned, so there are pages without LBAs assigned, > which means they can't be written to by software. Plus "zeros" make SSD > pages full of zeros, rather than being empty and ready to be written to. > ATA Secure Erase is supposed to make them empty (write ready) and does > it for all pages. > > http://mackonsti.wordpress.com/2011/11/22/ssd-secure-erase-ata-command/
Tho in this case, the bad section was obviously assigned as it was triggering errors, and writing zeros to the entire thing might just have triggered the drive to cycle the bad area out of use, replacing it from the reserves. So while zeroing an SSD is a bad idea in general, it still might be worthwhile to try in a case like this, particularly if after a a secure- erase command the media is still giving errors. IOW, YMMV. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html