Re: blkdiscard vs hdparm for erasing a SSD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14-10-15 09:12 AM, Peter Wu wrote:
> Hi,
> 
> Recent versions of util-linux have a blkdiscard program. How does this compare
> to the --security-erase option of hdparm? The goal is to erase the contents of
> an previously used SSD to improve performance.
> 
> Is the command `blkdiscard -s /dev/sdd` equivalent to the instructions listed on
> https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase?

--security-erase is the nearest thing to a "low level format" that exists.
On some mechanical drives, it actually performs a true low level format.

For SSDs, most manufacturers that I have dealt with use --security-erase
as their preferred method for reinitializing a corrupted drive.

--security-erase is normally much faster than TRIM as well.

Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux