Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > uk.comp.sys.mac > #132599 > unrolled thread

Erasing SSD prior to sale

Started byTim Streater <timstreater@greenbee.net>
First post2019-07-29 22:38 +0100
Last post2019-07-30 21:19 +0100
Articles 6 — 4 participants

Back to article view | Back to uk.comp.sys.mac


Contents

  Erasing SSD prior to sale Tim Streater <timstreater@greenbee.net> - 2019-07-29 22:38 +0100
    Re: Erasing SSD prior to sale nospam <nospam@nospam.invalid> - 2019-07-29 17:53 -0400
      Re: Erasing SSD prior to sale Theo <theom+news@chiark.greenend.org.uk> - 2019-07-30 11:22 +0100
        Re: Erasing SSD prior to sale nospam <nospam@nospam.invalid> - 2019-07-30 06:31 -0400
    Re: Erasing SSD prior to sale richard@cogsci.ed.ac.uk (Richard Tobin) - 2019-07-29 22:18 +0000
      Re: Erasing SSD prior to sale Tim Streater <timstreater@greenbee.net> - 2019-07-30 21:19 +0100

#132599 — Erasing SSD prior to sale

FromTim Streater <timstreater@greenbee.net>
Date2019-07-29 22:38 +0100
SubjectErasing SSD prior to sale
Message-ID<290720192238087287%timstreater@greenbee.net>
I've got a Min-2011 Mini with an SSD in the second drive slot. I want
to consider selling this machine, but would need to know how to erase
the SSD prior to doing so. It's a Crucial 64G SSD from 5 or 6 years
ago. The Mini has High Sierra on it.

Does Disk Utility know how to do the right thing? No point in more than
one pass writing zeroes, or course, but I'd like to think that if told
to securely erase an SSD it could do so.

-- 
Tim.

[toc] | [next] | [standalone]


#132601

Fromnospam <nospam@nospam.invalid>
Date2019-07-29 17:53 -0400
Message-ID<290720191753453575%nospam@nospam.invalid>
In reply to#132599
In article <290720192238087287%timstreater@greenbee.net>, Tim Streater
<timstreater@greenbee.net> wrote:

> I've got a Min-2011 Mini with an SSD in the second drive slot. I want
> to consider selling this machine, but would need to know how to erase
> the SSD prior to doing so. It's a Crucial 64G SSD from 5 or 6 years
> ago. The Mini has High Sierra on it.
> 
> Does Disk Utility know how to do the right thing? No point in more than
> one pass writing zeroes, or course, but I'd like to think that if told
> to securely erase an SSD it could do so.

because of wear leveling, it's impossible to securely erase an ssd. 

the best you can do is erase it and trim it, however, it's still
theoretically possible to remove the flash chips and read the contents
directly (although still not that usable). very few people are going to
go to that extent or expense.

in the future, fully encrypt the ssd. anyone without the correct key
will not be able to read it, outside of cracking the encryption itself,
also not worth the effort.

[toc] | [prev] | [next] | [standalone]


#132613

FromTheo <theom+news@chiark.greenend.org.uk>
Date2019-07-30 11:22 +0100
Message-ID<kxs*GAaux@news.chiark.greenend.org.uk>
In reply to#132601
nospam <nospam@nospam.invalid> wrote:
> In article <290720192238087287%timstreater@greenbee.net>, Tim Streater
> <timstreater@greenbee.net> wrote:
> 
> > I've got a Min-2011 Mini with an SSD in the second drive slot. I want
> > to consider selling this machine, but would need to know how to erase
> > the SSD prior to doing so. It's a Crucial 64G SSD from 5 or 6 years
> > ago. The Mini has High Sierra on it.
> > 
> > Does Disk Utility know how to do the right thing? No point in more than
> > one pass writing zeroes, or course, but I'd like to think that if told
> > to securely erase an SSD it could do so.
> 
> because of wear leveling, it's impossible to securely erase an ssd. 

The ATA secure erase command should do exactly that.
Unfortunately, as previously mentioned, Apple don't make it easy to use it.
(and, since they wrote the SSD firmware, it's possible they haven't bothered
to implement it for their SSDs)

> in the future, fully encrypt the ssd. anyone without the correct key
> will not be able to read it, outside of cracking the encryption itself,
> also not worth the effort.

The next best recommendation is to turn on FileVault for the disc then wipe
the drive, which deletes the FileVault key making the drive contents
junk.
https://www.backblaze.com/blog/how-to-wipe-a-mac-hard-drive/

Theo

[toc] | [prev] | [next] | [standalone]


#132614

Fromnospam <nospam@nospam.invalid>
Date2019-07-30 06:31 -0400
Message-ID<300720190631527400%nospam@nospam.invalid>
In reply to#132613
In article <kxs*GAaux@news.chiark.greenend.org.uk>, Theo
<theom+news@chiark.greenend.org.uk> wrote:

> > > I've got a Min-2011 Mini with an SSD in the second drive slot. I want
> > > to consider selling this machine, but would need to know how to erase
> > > the SSD prior to doing so. It's a Crucial 64G SSD from 5 or 6 years
> > > ago. The Mini has High Sierra on it.
> > > 
> > > Does Disk Utility know how to do the right thing? No point in more than
> > > one pass writing zeroes, or course, but I'd like to think that if told
> > > to securely erase an SSD it could do so.
> > 
> > because of wear leveling, it's impossible to securely erase an ssd. 
> 
> The ATA secure erase command should do exactly that.

it can't on an ssd.

> Unfortunately, as previously mentioned, Apple don't make it easy to use it.
> (and, since they wrote the SSD firmware, it's possible they haven't bothered
> to implement it for their SSDs)

there's nothing apple or anyone else can do, nor did apple write the
firmware for a crucial ssd.

> > in the future, fully encrypt the ssd. anyone without the correct key
> > will not be able to read it, outside of cracking the encryption itself,
> > also not worth the effort.
> 
> The next best recommendation is to turn on FileVault for the disc then wipe
> the drive, which deletes the FileVault key making the drive contents
> junk.
> https://www.backblaze.com/blog/how-to-wipe-a-mac-hard-drive/

that's the same thing.

[toc] | [prev] | [next] | [standalone]


#132602

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2019-07-29 22:18 +0000
Message-ID<qhnraq$2chu$1@macpro.inf.ed.ac.uk>
In reply to#132599
In article <290720192238087287%timstreater@greenbee.net>,
Tim Streater  <timstreater@greenbee.net> wrote:
>I've got a Min-2011 Mini with an SSD in the second drive slot. I want
>to consider selling this machine, but would need to know how to erase
>the SSD prior to doing so. It's a Crucial 64G SSD from 5 or 6 years
>ago. The Mini has High Sierra on it.
>
>Does Disk Utility know how to do the right thing? No point in more than
>one pass writing zeroes, or course, but I'd like to think that if told
>to securely erase an SSD it could do so.

You can't reliably, securely erase an SSD merely by writing blocks to
it, because some blocks may not be mapped-to at the time you do the
write.  Disk Utility will get rid of most of it, so it's probably
worth doing as it's easy.

There's a command in the ATA command set which - assuming it's
implemented in the SSD and implemented correctly - will erase
everything.  Some SSD manufacturers provide software that will issue
this command, but not as far as I know for Macs.  If you can boot
Linux on the machine you may be able to use the hdparm program
to issue it - there are various pages about it on the web.

There are also various pages asserting that it doesn't work properly
for some or all SSDs, and I haven't looked into it closely.

-- Richard

[toc] | [prev] | [next] | [standalone]


#132637

FromTim Streater <timstreater@greenbee.net>
Date2019-07-30 21:19 +0100
Message-ID<300720192119178925%timstreater@greenbee.net>
In reply to#132602
In article <qhnraq$2chu$1@macpro.inf.ed.ac.uk>, Richard Tobin
<richard@cogsci.ed.ac.uk> wrote:

>In article <290720192238087287%timstreater@greenbee.net>,
>Tim Streater  <timstreater@greenbee.net> wrote:
>>I've got a Min-2011 Mini with an SSD in the second drive slot. I want
>>to consider selling this machine, but would need to know how to erase
>>the SSD prior to doing so. It's a Crucial 64G SSD from 5 or 6 years
>>ago. The Mini has High Sierra on it.
>>
>>Does Disk Utility know how to do the right thing? No point in more than
>>one pass writing zeroes, or course, but I'd like to think that if told
>>to securely erase an SSD it could do so.
>
>You can't reliably, securely erase an SSD merely by writing blocks to
>it, because some blocks may not be mapped-to at the time you do the
>write.  Disk Utility will get rid of most of it, so it's probably
>worth doing as it's easy.

Thanks for this. New machine is coming next week, and it may be a few
days before I need to be cleaning the old one. I may decide just to
recycle it, in the end.

-- 
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [standalone]


Back to top | Article view | uk.comp.sys.mac


csiph-web