Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 08-14-2019, 05:13 AM   #1
Senior Member
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,032

Rep: Reputation: 76
safely erase SSDs

I'm erasing a Samsung SSD 850 EVO using the following two commands:
hdparm --user-master u --security-set-pass PASSWORD /dev/sdb
hdparm --user-master u --security-erase-enhanced PASSWORD /dev/sdb
The second command runs almost instantenously. I understand that with the newer SSDs the data is nonetheless somehow encrypted and the only thing that needs changing is the encryption key (sort of) and maybe run a TRIM command (which would take a few seconds), and by doing that, the data becomes automatically illegible.

The problem is that hdparm -I displays different times for the security-erase, which are not even nearly close to what is actually going on. In my case it says:
If the process is supposed to be instantenous in the first place, what do these number mean anyway? Why are they there in the first place?

Thanks in advance!
Old 08-14-2019, 10:15 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,443
Blog Entries: 25

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
I have no personal experience with SSDs, but this article from the Arch Wiki might help:
Old 08-15-2019, 05:07 PM   #3
Senior Member
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,032

Original Poster
Rep: Reputation: 76
Well, I've already checked the link and there's no exact explanation as to why it takes so little time to run and the command and why it says it's going to take several minutes.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux & SSDs (Solid State Disks) undoIT Linux - Hardware 10 12-19-2009 04:39 PM
Linux and SSDs- do they work well together? Earl Parker II Linux - Hardware 9 11-27-2009 07:31 AM
LXer: Teradata promises Extreme Performance analytics with SSDs LXer Syndicated Linux News 0 10-22-2009 07:21 PM
LXer: NILFS: A File System to Make SSDs Scream LXer Syndicated Linux News 1 09-01-2009 12:01 PM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration