My SSD is filled, my OS thinks it is 400 Gb?

I have been struggling with the issue for weeks. I'm at High Sierra 10.13.4. My internal SSD says it is at 490 Gb out of 512 Gb.

This problem may have started with Dropbox syncing and trying to migrate many files -- after which I received Dropbox not enough storage on SSD issues. Reduced Dropbox. Also received iCloud "desktop" storage errors. Both iCloud and Dropbox have plenty of online storage. Over time, I have copied folders to external drives and deleted them from the internal drive. Activity was strange, using Manage Storage I deleted at least 60 Gb of files -- but the system only showed 2 extra Gb free.

Disk Utility cannot repair or update OS because SSD does not unmount. Disk utility also found a file size error and tree error. I tried recover mode and safe mode. I unplugged all my external drives and raids. Time Machine stopped a while back.

Before I unplugged my hard drives, when using Manage Storage the "System" indicator never stopped spinning. When I unplugged and went to safe mode, the System indicator in Manage Storage stopped spinning and showed 400 Gb. Except for a few apps, no files over 1 Gb file size.

OS 400 Gb—the culprit.

What are my options? Can I safely deleting some of the system cache files to free up space. The OS says I need to get about 15 Gb free to do an update. I am not sure if I can make a bootable drive at this point. Ideas?

User uploaded file

Posted on Jul 22, 2018 6:33 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 22, 2018 7:21 AM

Hi,


1- Have you used Time Machine locally on this disk in the past? (I mean: including the successive restoration of your system during system updates, that may have put them back to your disk) (please tell us since when, this may help others), and 2- Do you (really) need to keep these old backups?


If you don't need to keep these old backups, try:


Open Applications -> Utilities -> Terminal, and copy/paste (no sudo):


tmutil thinLocalSnapshots / 10000000000 4


(type return)


(wait for the cursor to come back in position) (it could take quite a bit of time...)


If you are on a APFS file system (I assume: already High Sierra) you'll see then a list of "normal" snapshots (from the last 24 hours). All the most ancient snapshots will have been cleared precisely to let some place for these ones.


The syntax is aimed to tell in command line to the Time Machine utility to thin local snapshots <mount_point> [purgeamount] [urgency]


That [purgeamount] is how much space you want to recover in the process, and the [urgency] is a number (1-4) of how quickly you want the space recovered. Both are optional.


Regards.

Similar questions

8 replies
Question marked as Top-ranking reply

Jul 22, 2018 7:21 AM in response to jmaryn

Hi,


1- Have you used Time Machine locally on this disk in the past? (I mean: including the successive restoration of your system during system updates, that may have put them back to your disk) (please tell us since when, this may help others), and 2- Do you (really) need to keep these old backups?


If you don't need to keep these old backups, try:


Open Applications -> Utilities -> Terminal, and copy/paste (no sudo):


tmutil thinLocalSnapshots / 10000000000 4


(type return)


(wait for the cursor to come back in position) (it could take quite a bit of time...)


If you are on a APFS file system (I assume: already High Sierra) you'll see then a list of "normal" snapshots (from the last 24 hours). All the most ancient snapshots will have been cleared precisely to let some place for these ones.


The syntax is aimed to tell in command line to the Time Machine utility to thin local snapshots <mount_point> [purgeamount] [urgency]


That [purgeamount] is how much space you want to recover in the process, and the [urgency] is a number (1-4) of how quickly you want the space recovered. Both are optional.


Regards.

Aug 7, 2018 5:40 PM in response to jmaryn

(Sorry, I wasn’t sure this was posted. So I copy-pasted the content from another app and got the weird formatting.)




FINAL SOLUTION & UPDATE:


Hello everyone, I appreciate all of your comments and suggestions. The final solution was resolved by a couple of Apple Genius’ at the Apple Store and required ERASING my SSD, something which I actually wanted to do after a certain point. Below I will bullet point some of the process — from my memory, so I hope there are no errors. Regardless, the final solution was rather simple—I’ll put that as the first bullet.


The information is anecdotal and not meant to be tech support.


• SOLUTION: To erase my “stuck” SSD in my iMac, the Apple Genius first ran a hardware diagnostics program that checked out that the disk was Ok. Then, using Disk Utility, he clicked on SHOW ALL DEVICES. This brings up the actual “device name” of the SSD drive, not just the named drive. Then the Genius, selected the device name and said Erase drive, selecting the traditional formatting (name of drive, OS X Journaled, GUID partition). The drive then FULLY ERASED freeing up the “hidden volumes” that had kept me from using the drive. Then the Genius reinstalled High Sierra which automatically reformatted the SSD drive as AFPS (or whatever its called). After which, I began to set up the computer, reinstall apps, reconnect to all my services and so on. I AM SO HAPPY. See the following bullets.

• WHY I COULD NOT ERASE THE SSD DRIVE: The Genius said that when High Sierra formats or erases a drive or installs itself, it adds a “new layer” of structure to the drive (I’ll call it Volumes) and thus trying to erase the drive using either the volumes or named drive does not fully erase all of the drive’s Partitions. Thas, you need to select the Device Name of the internal drive in order to erase the drive in it’s traditional sense.

• UNDERSTAND—FULLY ERASING THE DRIVE: The above is erasing the drive fully. To my understanding, there is no way to “delete” the “hidden volumes” of the drive to free up drive space, thus I was happy to erase the drive, free up ALL of the space, and start fresh.

• WHY I WAS “STUCK”: Besides being an idiot for letting my drive fill up and then causing additional errors due to syncing of iCloud and Dropbox—likely why everything became corrupted or confused—the computer could not “respond” to unmounting the SSD drive, or repair or erase the drive. It just was “stuck.” A prior Apple Genius suggested I try resetting the PRAM (Opt-Com-P-R keys on Restart). At first, it did not seem to work. A little later, the computer connected to Apple’s Internet Disk Utility. This is where I “erased” the SSD but it came back saying that I had only 6 Gb free and 490 Gb in hidden volumes. That is where I was stuck until the Apple Genius resolved the issue by properly reformatting the drive.

• BOOTABLE OS DRIVES? For reasons totally unknown to me, I could NOT for anything create any type of bootable OS drive (on external drive or USB key), following many instructions on the web.

• WHAT WERE THOSE HIDDEN VOLUMES? It is almost certain that the hidden volumes taking up 490 Gb were OLD Time Machine backups and many IOS backups to the computer. I had done both for many years. Apparently, these “volumes” were not freed up due to the High Sierra formatting mentioned above. And, we think, that there is no way to free these up without totally erasing the drive.

• TIME MACHINE backups? Yes, I had many. Then they failed (space issues). I did not use Time Machine to restore my content.

• DAISY DISK and CARBON COPY CLONER. I did use Daisy Disk which showed me the hidden volumes but even the standalone version could not access the hidden volumes. I was not going to randomly just delete large segments of the disks. Foolish. I did have a Carbon Copy CLONER backup of my drive, after deleting a bunch of stuff and did use the CCC backup on an external drive to run the computer — which did work under CCC. Not exactly sure how the CCC acted as a bootable thing. I did NOT restore from CCC because it would have brought back OS issues in all likelihood.


I‘m certain I forget some things but I hope this may help others in understanding at least why I could not erase my internal SSD drive and free up all of the space. I apologize for my long wordiness. :-)

My recommendation is to seek Apple Store Genius help when possible.


Thank you, everyone.


Jul 28, 2018 6:45 AM in response to jmaryn

Hello jmaryn,

Please stop running terminal commands. That is likely to cause very serious problems.


The value reported for "System" in About This Mac > Storage > Manage Storage is just wrong. It is a well-known bug in the operating system.


If you want to know how much free space you have on your hard drive, open a new Finder window. In the View menu, choose "Show Status Bar" if it isn't already shown. The status bar at the bottom of the Finder window will show how much free space you have on your disk.

Jul 25, 2018 10:48 AM in response to jmaryn

Hi Almojgar,


Sorry I didn't get back to you sooner. Yes, I did have a local Time Machine backup. I just tried the terminal command and it immediately came back as thinned snapshots but I suspect nothing happened. You are right in that "something" is "stuck" in my System as it shows over 400 Gb.


There was an active Time Machine backup (since last May) but it turned off in May when it determined that my local SSD internal drive did not have enough room. A little after this (June), I had the error from Dropbox syncing also indicating not enough local storage, then iCloud syncing issues — all "stuck" because of insufficient space on the SSD. I have been moving, deleting, folders and apps. All of my media is on new externals.


I will try to either make an external bootable drive (though I can't download the OS until more room is free. The ironic thing is that I deleted say over 60 Gb of data but the system only deleted 2 Gb. Right now with deleting apps I am at 10 Gb and will delete a few more until I get to the point where I can use a Recovery option or, if needed, just erase the entire drive (last resort).


I did run DaisyDisk and purged the purgeable space, however most of the 400 Gb is "hidden" files and even with the standalone app, DD can't access those areas. I suspect that it also contained many old iOS backups -- I did try to use the Manage Storage feature to remove these and Garageband instruments and so on -- it did remove them but did not free up the space.


If you have any other ideas I can try? I appreciate your initial advice which I did not know of. Thanks for suggesting it. -- John

Jul 25, 2018 10:47 AM in response to Almojgar

Hi Almojgar,


I tried your new Terminal suggestion and immediately received a "thinned" msg reply but there was no change in the SSD storage amount. To keep you updated, I continue to delete more data but the storage amount remains the same. Some of my iCloud files stopped being responsive—I think I broke iCloud :-). I deleted my old Time Machine backup and started a new one. I thought it was working but TM told me it could not complete the new backup due to errors.


Manage Storage on the Mac OS told me that I had deleted my "local" iOS storage but another program said that I still had 200Gb of LOCAL iOS backups--for a phone and ipad. This confusion compounded with a lot of other syncing issues probably corrupted some directory in my root drive.


One last question to you—could it be a RAID issue? I am a music guy and have many drives attached (for very large music libraries) and added two RAIDs to my mix in order to try and organize my many hard drives and computers into a "single" place. The goal to create new backups from this simpler structure. I will get there. The RAID software is SoftRaid XT v5. The data all seems ok on each RAID but I wonder if this might be the second "hidden" local backup?


Before my first post, I unplugged the RAIDs and every drive except for a Time Machine drive and a second drive to manually copy files.


At this time, I suspect that I will need to either totally erase and reformat the main SSD drive, then install a fresh new system—though I have a lot of serialized software that will require authenication. At least it will be a new start. I think this is what the Apple Genius' would suggest. I will be able to recover most of my data.


Before that final step, I will definitely create a new bootable OS on another computer and then see if I can update or repair the existing system instead of reformatting. Reformatting is beginning to sound so appealing. :-)


It might take a few days (or a week or so) but I will post a final update to let you know what the solution was.


To everyone, I suspect this potential corruption/confusion between the now-common small SSDs filling to capacity while syncing between iCloud and Dropbox and other cloud services will become more common. You may buy storage on the Cloud but your device is FULL. Try things. On/Off with the cloud systems. At some point, something breaks. I suspect this is what happened in my case, though I am a bit more detailed and involved than the average consumer.--Thanks all.


I appreciate your help, Almojgar. I have learned from your posts. Thank you. Much appreciated.

Jul 25, 2018 10:48 AM in response to jmaryn

Hi,


We can try the same command with sudo and see if some backups are locked for some reason (and consequently have been left untouched).


sudo tmutil thinLocalSnapshots / 10000000000 4

(type return)

(enter your admin password)

(type return)


If it works, you should see the result immediately on your disk space, but better to restart just afterward.


Regards.

Jul 28, 2018 6:22 AM in response to jmaryn

UPDATE to everyone from John:


I kept trying all things including Target Disk Mode. I couldn't create a bootlable OS installer. Nothing worked. I was able to get Apple's Internet Utilities services to open (Opt-Com-R on restart). I had done this many times. Now it seemed to "wake up." Ran Disk Utility, some errors but went through. However, it would not let me install a new OS.


I erased the drive using the utility and that seemed to work but the drive is still "stuck" -- I have 1 Mb of data used but the drive has four volumes of 490 Gb on it not accessible. Still does not let me install a new OS (High Sierra) on the main drive. Run Disk Utility - fine, this time no errors.


Apple online support couldn't get me passed the same things I did. I am going in to the Genius Bar hoping that their repair disks can reinstall the OS.


Leroy, thanks. The scripts ran and showed my stripped down version of my files, some private "apple" areas. But all small files.


I am now current running off of a partial backup-using Carbon Copy Cloner on an external disk for my startup disk. The main drive is still there. Below are a couple of pictures. I suspect this is one of the SSD issues you hear about and as Almojgar suggested might be related to old hidden Time Machine and iOS and other backups, all of which I had for many years.


SHOULD I DO THIS ERASE ALL COMMAND? Something about erasing data Secure Enclave in the Touchbar Mac. Would this work on my SSD?


FROM AN APPLE ARTICLE on erasing a computer to give to someone else and deleting the Touch Bar. Would this better erase my SSD???? or screw it up more? :-(

xartutil --erase-all


------------

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.

My SSD is filled, my OS thinks it is 400 Gb?

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