Re: Utility to zero unused blocks on disk

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



On Mon, Feb 8, 2016 at 10:54 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> Secure erase is really the only thing to use on SSDs.

Oops. It's probably a fairly close approximation to just mkfs.btrfs -f
(or xfs) the entire block device for the SSD. If the kernel sees it as
non-rotational, it'll issue a whole device trim first, then write out
scant amount of metadata (btrfs writes out a tiny amount of metadata
at mkfs time, xfs a bit more, ext4 a lot and then even more after
mounting).

For most people this is probably a lot easier than the multistep
process using hdparm and secure erase.

-- 
Chris Murphy
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux