Go Back   MacRumors Forums > Apple Hardware > Desktops > Mac mini

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 22, 2013, 07:12 PM   #1
ibizan
macrumors newbie
 
Join Date: Nov 2012
Reconditioning SSD for clean OS install?

Apologies if this is the wrong place for this question (a search yielded no results).

If I have a used (but fairly new) SSD ready to be wiped and freshly installed with the latest version of OS X, what's the best way to go about wiping the drive to get it back to its "factory-original" condition? Specifically, which options under Disk Utilty are viable? Security of the old data is a non-issue.

I've read conflicting advice online; my understanding is that it's NOT a good idea to do a "secure erase" that zeroes out the drive.

EDIT: I don't have access to a PC and the SSD's software tools are all PC-based. So there's that.
ibizan is offline   0 Reply With Quote
Old Jan 23, 2013, 03:29 AM   #2
Adz76
macrumors member
 
Join Date: Mar 2011
Location: Dagobah System
TBH I would have suggested the option that you have dismissed, but if that is out and security isn't an issue then I'd just go for a clean re install.

I'm assuming its in a Mac the drive? If its not then using a usb caddy is how I'd do it, other wise I'd make a bootable usb stick first of your OS, there are guides somewhere on here and the web.

Then I'd just do a clean install and you're set.
Adz76 is offline   0 Reply With Quote
Old Jan 23, 2013, 09:30 AM   #3
mslide
macrumors 6502a
 
Join Date: Sep 2007
Quote:
Originally Posted by ibizan View Post
Security of the old data is a non-issue.
Then you don't need to do a secure erase. Just reinstall OSX.

Quote:
Originally Posted by ibizan View Post
my understanding is that it's NOT a good idea to do a "secure erase" that zeroes out the drive.
It is if the drive had sensitive data on it and you are planning on giving/selling the drive to someone else. The fact that it's an SSD doesn't change that. It's not like doing one secure erase is going to instantly render the drive broken. These things are designed to last a long time.
mslide is offline   0 Reply With Quote
Old Jan 23, 2013, 09:39 AM   #4
jav6454
macrumors G5
 
jav6454's Avatar
 
Join Date: Nov 2007
Location: 1 Geostationary Tower Plaza
Quote:
Originally Posted by ibizan View Post
Apologies if this is the wrong place for this question (a search yielded no results).

If I have a used (but fairly new) SSD ready to be wiped and freshly installed with the latest version of OS X, what's the best way to go about wiping the drive to get it back to its "factory-original" condition? Specifically, which options under Disk Utilty are viable? Security of the old data is a non-issue.

I've read conflicting advice online; my understanding is that it's NOT a good idea to do a "secure erase" that zeroes out the drive.

EDIT: I don't have access to a PC and the SSD's software tools are all PC-based. So there's that.
Disk utility can help you with anything you might need. You can zero out the drive if you want just recover the performance loss after usage.
__________________
Al MacBook 2.4GHz Late '08 | 5 S⃣ | Macross Click Me
jav6454 is offline   0 Reply With Quote
Old Jan 23, 2013, 09:58 AM   #5
ibizan
Thread Starter
macrumors newbie
 
Join Date: Nov 2012
Quote:
Originally Posted by jav6454 View Post
Disk utility can help you with anything you might need. You can zero out the drive if you want just recover the performance loss after usage.
Sounds easy enough—still learning my way around SSDs and to what degree these solid state drives get fragmented over time. Could've sworn I read something about how zeroing data was a bad idea if TRIM wasn't properly enabled on the system (i.e., garbage collection routines alone weren't enough to bring the drives back up to factory freshness, as it were).

Anyhow, thanks, all. I'll go with the quick + simple install.
ibizan is offline   0 Reply With Quote
Old Jan 23, 2013, 10:00 AM   #6
jav6454
macrumors G5
 
jav6454's Avatar
 
Join Date: Nov 2007
Location: 1 Geostationary Tower Plaza
What is truly a bad idea is defraging an SSD. Big no-no.
__________________
Al MacBook 2.4GHz Late '08 | 5 S⃣ | Macross Click Me
jav6454 is offline   1 Reply With Quote
Old Jan 23, 2013, 10:42 AM   #7
Mike Valmike
macrumors 6502a
 
Join Date: Feb 2012
Location: Chandler, Arizona
Quote:
Originally Posted by mslide View Post
Then you don't need to do a secure erase. Just reinstall OSX.



It is if the drive had sensitive data on it and you are planning on giving/selling the drive to someone else. The fact that it's an SSD doesn't change that. It's not like doing one secure erase is going to instantly render the drive broken. These things are designed to last a long time.
Yes but I believe the OP's concern is the write cycles for an SSD which zeroing out the data would consume a significant number of. Honestly this is an issue I have not yet had to encounter so I am curious to know what the best answer is.
Mike Valmike is offline   0 Reply With Quote
Old Jan 23, 2013, 10:50 AM   #8
ibizan
Thread Starter
macrumors newbie
 
Join Date: Nov 2012
Quote:
Originally Posted by Mike Valmike View Post
Yes but I believe the OP's concern is the write cycles for an SSD which zeroing out the data would consume a significant number of. Honestly this is an issue I have not yet had to encounter so I am curious to know what the best answer is.
Exactly! SSDs haven't been around long enough; every article I read about long-term stability ends up being conjecture. Can't find a concrete "This is the proper way SSDs should be handled and reformatted" guide anywhere at the moment.
ibizan is offline   0 Reply With Quote
Old Jan 23, 2013, 11:53 AM   #9
hfg
macrumors 68020
 
hfg's Avatar
 
Join Date: Dec 2006
Location: Cedar Rapids, IA.
From posts by those more experienced with SSDs here, I have concluded that SSDs slow down as all the cells are written-to (programmed), whether by data, all '1', or all '0', and they must be "reset" to a non-programmed state to regain their speed. This is normally done with the controller "garbage collection" and/or by the OS with "trim". Otherwise, when data is written to a programmed location, that block must first be reset, then written, causing the slower performance. Thus, performing a "secure erase" whereby all ''0' data is written to the entire array without allowing idle time for the cleanup, is actually the worst thing that can be done to a SSD.

I have seen no "quick initialize" methods in OS X to reset a SSD back to its virgin out-of-box state. However, I have seen discussions on how that can be done if you can put the SSD in a Linux or Windows environment and run base-level commands.

I would like to see a method for doing this SSD reset within OS X if anyone knows how.
hfg is offline   1 Reply With Quote
Old Jan 23, 2013, 12:14 PM   #10
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by Mike Valmike View Post
Yes but I believe the OP's concern is the write cycles for an SSD which zeroing out the data would consume a significant number of. Honestly this is an issue I have not yet had to encounter so I am curious to know what the best answer is.
Quote:
Originally Posted by ibizan View Post
Exactly! SSDs haven't been around long enough; every article I read about long-term stability ends up being conjecture. Can't find a concrete "This is the proper way SSDs should be handled and reformatted" guide anywhere at the moment.
Okay... here's the deal. SSDs use NAND chips to store data, and those chips have individual cells on them that will begin to degrade after a given number of write cycles. Some of the newer SSDs use a type of NAND called TLC NAND, and it can handle ~1,000 life cycles. Give this article a read.

So let's say you have a TLC NAND SSD. If you look in the article you will see a chart that shows it would begin to degrade in 11.7 years IF you wrote 10GB to the drive EVERY SINGLE DAY, which for most of us is not going to happen.

So back to your question. When you do a secure erase with a one pass of zeros, you have just "used up" one of the 1,000 write cycles of every NAND cell on the drive. As a practical matter (doing the math off 11.7 years) this means the SSD will begin to degrade in 4,265 days instead of 4,270 days.

Remember, this is with the TLC NAND at 1,000 life cycles. MLC NAND has 3,000 life cycles, making this even less an issue.

Short version. I would not run secure erase every week, but it will not matter much if you do it occasionally.

IMO everybody is a little too concerned about this issue with SSDs.

Back to your first post though. If you are not concerned about data recovery, there is no reason for you to secure erase. Just format the drive normally to Mac OS Extended and use it.

----------

Quote:
Originally Posted by hfg View Post
From posts by those more experienced with SSDs here, I have concluded that SSDs slow down as all the cells are written-to (programmed), whether by data, all '1', or all '0', and they must be "reset" to a non-programmed state to regain their speed. This is normally done with the controller "garbage collection" and/or by the OS with "trim". Otherwise, when data is written to a programmed location, that block must first be reset, then written, causing the slower performance. Thus, performing a "secure erase" whereby all ''0' data is written to the entire array without allowing idle time for the cleanup, is actually the worst thing that can be done to a SSD.

I have seen no "quick initialize" methods in OS X to reset a SSD back to its virgin out-of-box state. However, I have seen discussions on how that can be done if you can put the SSD in a Linux or Windows environment and run base-level commands.

I would like to see a method for doing this SSD reset within OS X if anyone knows how.
You are correct that a Disk Util secure erase with zeroes, would put the drive in a state where write speed is slowed due to the state of the cells, but if left to idle for a time after that the built in garbage collection of the drive will restore this to like new performance. If you look at some of the Anandtech SSD reviews they have a great chart in the TRIM performance section that shows drive speed recovery both with and without TRIM. They all recovery either way, although they recover faster with TRIM.

Another way to instantly restore like new performance in OS X is to install the TRIM hack then boot to single user mode and enter the command "fsck -fy". This will TRIM all unused blocks on the drive.
Weaselboy is offline   2 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Desktops > Mac mini

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
New SSD Clean Mavericks Install Help xsasha92x MacBook Pro 4 Jan 9, 2014 07:54 AM
New SSD - Clean install or clone? lbeck OS X Mavericks (10.9) 4 Nov 12, 2013 09:01 PM
Clean install on new SSD? endlightend MacBook Pro 6 Nov 6, 2013 09:28 PM
New SSD in mini, how to clean install OS X? theanimala Mac mini 2 Oct 27, 2012 11:41 AM
ML clean install and SSD Formatting Lucagfc OS X 10.8 Mountain Lion 1 Aug 16, 2012 05:39 AM

Forum Jump

All times are GMT -5. The time now is 03:42 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC