Secure Erase Freespace on El Capitan

After upgrading to El Capitan, Disk Utility was changed and "Erase" is greyed-out over Macintosh HD. I used to perform erase free space on the disk as that would empty out space for me. I checked to see my storage just now and I had 19 GB left on my 500 GB drive. I emptied my 100 GB trash only to find a 2GB increment on the remaining disk space. How do you perform the function again as I'm running out of space?


TLDR QUESTIONS:

1. How does one perform erase free space on El Capitan?

2. If it is completely unavailable, what is an alternative I can pursue to achieve the same outcome?

EDIT:

I've seen this link http://www.macworld.com/article/1139688/os-x/erasefreespace.html multiple times in similar discussions. I followed the instructions to first get list:

diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 499.4 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +499.0 GB disk1

Logical Volume on disk0s2

5B5D0FC5-7709-4DC1-8D89-F36DFCC4739A

Unencrypted

/dev/disk2 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_partition_scheme +18.1 MB disk2

1: Apple_partition_map 32.3 KB disk2s1

2: Apple_HFS Flash Player 18.1 MB disk2s2


and then perform the erase:

diskutil secureErase freespace 1 /dev/disk1

except this error comes up and stops the process:

rror: -69847: Couldn't create temporary file

Underlying error: 1: POSIX reports: Operation not permitted

MacBook Pro (Retina, 13-inch, Mid 2014), OS X El Capitan (10.11.1), null

Posted on May 10, 2016 6:56 AM

Reply
9 replies

May 10, 2016 7:55 AM in response to tigerustin

I used to perform erase free space on the disk as that would empty out space for me.


Erasing free space on a Rotating Drive does no such thing. The blocks are already available, on the Free List and ready for you to use.


This operation does not make them any more or less free. This command is completely un-necessary. As written, it simply writes over the old file information with pseudo-random data. So the exact same number of available blocks now contain different garage than before.


You should not be attempting to do this for the purposes you stated.


-------

This command has been removed from Disk Utility (as well as Secure Empty Trash form Finder) because it induces excessive wear on SSD devices, and is extremely counter-productive to use on SSD devices.


It appears your MacBook Pro retina 13" 2014 has an SSD drive. Doing this to an SSD drive will wear it out and make it fail prematurely. In addition, you are likely to get Horrible performance after performing this operation, because the drive will have no Internal spare blocks, and write speeds may decline to near Zero.


Don't do this!

May 10, 2016 8:37 AM in response to tigerustin

Your query was about erasing free space.


The explanation of MISSING free space is likely to depend on Time machine "snapshots", which are stored on your Boot Drive until you connect your external backup, or until you need that space for something else.


If you make a request for drive space, Time Machine snapshots are discarded, and the space is made immediately available.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Secure Erase Freespace on El Capitan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.