"System data" is taking up nearly 1TB of hard drive space

I recently started getting system warnings about running out of space, so I deleted some stuff and moved some stuff to an external drive. But the warnings kept coming, so I checked the Storage tab in "About this Mac," and it turns out that nearly all of my iMac's internal drive space is being used by "System data," which is bonkers!


I've googled the issue but none of the articles I've found were at all helpful to my situation. And it gets even weirder: I checked the total amount of space that's in use by the each of the four root directories on my internal drive:


  • Applications 56.27 GB
  • Library 133.12 GB
  • System 17.64 GB
  • Users 35.98 GB


This adds up to 243.01 -- not even remotely close to my drive's total space usage! So I assume there must be some invisible directories in there. Can I make them visible? And more to the point, how can I fix this??

iMac (M1, 2021)

Posted on Oct 5, 2023 4:54 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 10, 2023 1:58 PM

It's tough to tell since Apple now hides so many files, logs & caches are two things that can grow beyond belief, and the Storage Report is of no help usually.


Some things to look at, let usc know one way or the other please.


You may find neuroanatomist's User Tip helpful: What is "Other" storage on a Mac, and how can I clean it out? - Apple Community. 


Terminal code to clean DocumentRevisionsfolder…

https://apple.stackexchange.com/questions/313102/what-will-occur-if-the-documentrevisions-v100-folder-is-deleted

macos - What will occur if the .DocumentRevisions-V100 folder is deleted? - Ask Different (stackexchange.com)


Look for iOS backups…

/Users/YourUserName/Library/Application Support/MobileSync/Backup


OmniDiskSweeper shows you the files on your drive, largest to smallest, and lets you quickly Trash or open them.

https://www.omnigroup.com/more/


Purging local backups

Please note that although this doesn't affect your remote backup from Time Machine, this will get rid of the redundancy (at least until the next Time Machine backup) that a local backup disk will provide. If you need such redundancy or are worried about the recovery of your data then you would be best served to let macOS determine when to purge these files.

Start Terminal from spotlight.

At the terminal type tmutil listlocalsnapshotdates. 

Hit enter.


Here, you'll now see a list of all of the locally stored Time Machine backup snapshots stored on your disk.

Next you can remove the snapshots based on their date. I prefer to delete them one at at time. Once my "System" disk usage is at an acceptable level, I stop deleting but you can delete all of them if you want to reclaim all of the disk space.


Back at the terminal, type tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS , where will be one of the dates from your backup. This will be in the form of xxx-yy-zz-abcdef. Try to start with the oldest snapshot.

Hit enter.

Repeat for as many snapshot dates as required


http://www.thagomizer.com/blog/2018/03/27/cleaning-up-time-machine-local-snapshots.html


tmutil deletelocalsnapshots / # deletes all the snapshots


Thanks to BobHarris file sizes, Applications -> Utilities -> Terminal:...


sudo du -hx | sort -h 


sudo du -hx ~/| sort -h 



Similar questions

17 replies
Question marked as Top-ranking reply

Oct 10, 2023 1:58 PM in response to Jeremy Bell2

It's tough to tell since Apple now hides so many files, logs & caches are two things that can grow beyond belief, and the Storage Report is of no help usually.


Some things to look at, let usc know one way or the other please.


You may find neuroanatomist's User Tip helpful: What is "Other" storage on a Mac, and how can I clean it out? - Apple Community. 


Terminal code to clean DocumentRevisionsfolder…

https://apple.stackexchange.com/questions/313102/what-will-occur-if-the-documentrevisions-v100-folder-is-deleted

macos - What will occur if the .DocumentRevisions-V100 folder is deleted? - Ask Different (stackexchange.com)


Look for iOS backups…

/Users/YourUserName/Library/Application Support/MobileSync/Backup


OmniDiskSweeper shows you the files on your drive, largest to smallest, and lets you quickly Trash or open them.

https://www.omnigroup.com/more/


Purging local backups

Please note that although this doesn't affect your remote backup from Time Machine, this will get rid of the redundancy (at least until the next Time Machine backup) that a local backup disk will provide. If you need such redundancy or are worried about the recovery of your data then you would be best served to let macOS determine when to purge these files.

Start Terminal from spotlight.

At the terminal type tmutil listlocalsnapshotdates. 

Hit enter.


Here, you'll now see a list of all of the locally stored Time Machine backup snapshots stored on your disk.

Next you can remove the snapshots based on their date. I prefer to delete them one at at time. Once my "System" disk usage is at an acceptable level, I stop deleting but you can delete all of them if you want to reclaim all of the disk space.


Back at the terminal, type tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS , where will be one of the dates from your backup. This will be in the form of xxx-yy-zz-abcdef. Try to start with the oldest snapshot.

Hit enter.

Repeat for as many snapshot dates as required


http://www.thagomizer.com/blog/2018/03/27/cleaning-up-time-machine-local-snapshots.html


tmutil deletelocalsnapshots / # deletes all the snapshots


Thanks to BobHarris file sizes, Applications -> Utilities -> Terminal:...


sudo du -hx | sort -h 


sudo du -hx ~/| sort -h 



Oct 12, 2023 4:16 PM in response to Jeremy Bell2

System Data used to be call the Other category in earlier systems. It can contain files that are not necessarily i the system folder but read out over the drive. The Other category is a potpourri of files which can include:


• System temporary files

• macOS system folders

• Archives and disk images (.zip, .iso, etc. - often found in the Downloads folder)

• Personal user data

• Files from the user’s library (Application Support, iCloud files, screensavers, etc.)

• Cache files: browser, Mail

• Mail messages & attachments

• Fonts, plugins, extensions

• Safari reading list

• iTunes backups

• Crud resulting from jailbreaking your iDevice

• Local Snapshot files from Time Machine

• Game data

• Saved data files

• Call history

• Notes

• Media

• Voice memos

• Other files that are not recognized by a Spotlight search

• Media files that cannot be classified by Spotlight as a media file because they are located inside of a package

• Files created and modified by other user accounts on your Mac.


They can be located anywhere on your hard drive.



The files that you have control over are located in the Documents, Downloads, Pictures, Music and Movies folders.  You can use this free app, GrandPerspective, to find the largest files on your drive so you can determine if they can be deleted or moved to an external HD for storage.


Note: you can empty the Downloads folder after the apps and/or updates that were downloaded have been installed or applied.  Some users have found a couple of Gigabytes of files in their Downloads folder which are no longer needed. 


Nov 30, 2023 3:53 PM in response to Jeremy Bell2

FYI, I finally reached out to my company's IT department, as this was happening on a work computer, and it turned out to be an issue with "Jamf" software, which they used to install on all our computers, but they don't even use it anymore. All I had to do was enter this into Terminal:

sudo jamf -removeframework

And poof.. that freed up over 600 gigs of space. Should've just talked to IT in the first place I guess..

Oct 11, 2023 3:57 AM in response to Jeremy Bell2

Three things that can grow to use a lot of space:


Time Machine snapshots


Caches


Logs



You should be able to see if there are any snapshots by opening Disk Utility and setting View->All Devices


By starting in Safe Mode, you may get some space back from the clearing up of caches.


Logs are probably somewhere under /Library or ~/Library


I'd search for "big" files using the Finder, eg.


In Finder, press Command-Shift-G and paste ~/Library,

then do a search for big files (you may start with "greater than 1GB" for example, to see what appears);

also do a similar search under /Library or over all the mac.




Oct 16, 2023 11:28 AM in response to Jeremy Bell2

Jeremy Bell2 wrote:

I deleted half of those TimeMachine snapshots, and I didn't notice any change in available space.

The data you deleted may still reside in every single other snapshot made prior to deleting the data. You will need to delete every snapshot up to the day you deleted that data before you will will see a difference.


Also, if any of the data you deleted was actually copied to another location within the same APFS volume, then you would need to delete both copies of that data before you would see any difference in the amount of Free storage space since the APFS file system does not make two separate physical copies of the data. Storage with APFS volumes is complicated.


Oct 5, 2023 6:00 PM in response to Jeremy Bell2

Jeremy Bell2 wrote:

how can I fix this??

Just wait a couple of days. The files that you requested to be deleted will eventually be deleted by the system and the space they used will be recovered.


But I don't know how much data you deleted. You should delete at least 250 GB. Usually when this happens, people will obsess over a few kilobytes of data, searching for those few bytes that are most likely to corrupt some critical file system operation. Don't do that. Delete only files that you created. Don't touch anything in a "Library" folder.

Oct 10, 2023 12:56 PM in response to etresoft

I appreciate you taking the time to reply, but I would humbly ask that you please take a moment to reread my post, because I think you may have missed some crucial details. But to answer your question, I think the amount I deleted totaled maybe 20 or 25 gigs. I could literally add up every document I have ever created and every application I've ever installed on this computer, and it still wouldn't amount to anywhere near 250 GB. To reiterate -- it is not user data that is using up all the drive's space.


And as for waiting a couple days, it has been like this for weeks. My drive currently is showing 30.45 GB available, out of 1TB.

Oct 12, 2023 1:27 PM in response to BDAqua

Thanks for your reply. First, I tried checking the .DocumentRevisions file size in Terminal, and I got this:

du: /.DocumentRevisions-V100: No such file or directory

So I don't know, maybe I did something wrong there.


Next I checked on the snapshots thing. I did find some recent snapshots, and I deleted half of them, which didn't seem to make much of a difference in my data usage. But maybe it takes a few days, like etresoft said.


This is my work computer, so I don't use it to back up my phone, but I did check anyway, and there were no iOS backups to be found.


Next I installed OmniDiskSweeper app, and it indicated that the total number of files on my disk only add up to about 225 gigs, which is also roughly the number that I arrived at in my original post. So whatever is taking up all that extra space, OmniDiskSweeper doesn't see it.


I'm thinking about maybe restoring from the latest Time Machine backup to see if that help. Either that, or just file a ticket with IT, but then I have to go without my computer for a few days, which is definitely not ideal.

Oct 12, 2023 2:35 PM in response to Luis Sequeira1

I appreciate your reply, but unfortunately, I'm still stumped.


I deleted half of those TimeMachine snapshots, and I didn't notice any change in available space.


I also started up in Safe Mode to clear caches, and followed some articles I found online about other ways to clear caches, but again, it made very little difference.


As for the library folders, I can see that /Library is using a total of 132 gigs, and ~/Library is using a total of 12 gigs. So whatever is taking up 865 gigs of space, it's not in either of them, nor is it in any other directory that's visible to me.

Oct 12, 2023 4:46 PM in response to Old Toad

Thanks, but I don't think this is really applicable here. Just to reiterate: the sum total of every file and folder that's visible to me -- including the System and Library -- comes to 225 gigs. Not even close to the amount of data on my drive. So unless you have a reason to think that this GrandPerspective app will be able to reveal more than the OmniDiskSweeper app did, I don't think it will be of much help. Sigh... this one's a real puzzler, and I fear it may be time to take drastic measures.

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.

"System data" is taking up nearly 1TB of hard drive space

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