Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

/System/Volumes/Data is taking too much space on Mac OS Catalina

One of my hosts runs on Mac OS Catalina, and it constantly runs out of disk space...

I have scheduled tasks running there and every day it uploads files into /Users/labuser/myfolder and removes older files from that folder.

After digging through folders I found that /System/Volumes/Data/Users/labuser/myfolder takes 90% of occupied space on my host.

Is there a way to disable this feature on Catalina and stop it from growing /System/Volumes/Data/... ?

like image 901
Dimu4 Avatar asked Mar 26 '20 17:03

Dimu4


People also ask

How do I fix macOS Catalina not enough disk space?

If you encounter the macOS Catalina problem where the installation fails due to low disk space, simply restart your Mac and press Control + R while it's booting to enter the Recovery mode. Select 'Disk boot' to boot normally, then remove unnecessary files to make space.

What is the system volume on Mac?

macOS includes enhanced protection for your Mac with cryptographic technology (macOS 11 or later) that prevents access to or execution of files that don't have a valid cryptographic signature from Apple. All system files are protected on the signed system volume (SSV).

Why is Macintosh HD data full?

The warning message indicating that your startup disk is almost full appears when there is no longer enough free space on your disk. This is often due to having too many files occupying your Mac's hard drive, bringing free space to a dangerously low level. To resolve this issue, you need to free up some disk space.

Is system data taking up too much disk space on your Mac?

If System Data is taking up too much disk space on your Mac, explore those two folders and see what's stored in them. If you're having a lot of your space allocated for System Data, you may have Time Machine snapshots stored on your Mac.

Why is the system data category on my MacBook so large?

Much of the storage space used by the OS for system-related tasks is cleared when macOS deletes the files automatically, but sometimes that doesn’t happen, which is why the System Data category can grow very large. Apple doesn’t explain what comprises this category of storage, but it’s likely that the following are part of it:

How much storage does macOS Big Sur system take up?

The default size of macOS Big Sur system is 12 GB. If your “System” data shows something around 14-20 GB, you have pretty good chances to slim it down to that original size. This is good news, but you’ll have to delete some unimportant files. Why does "System" take up so much Mac storage?

Where is system data stored on a Mac?

macOS System Data is mainly stored in both the System and Library folders. If System Data is taking up too much disk space on your Mac, explore those two folders and see what's stored in them.


Video Answer


1 Answers

/Users/labuser/myfolder is equivalent to the folder with /System/Volumes/Data/ prepended. macOS 10.15 Catalina added firmlinks (some more description here), but actually from a practical perspective (to the user) these are one and the same.

Thus, your problem has nothing to do with a "feature" on Catalina; rather it has to do with the amount of data you're storing and backing up from /Users/labuser/myfolder.

Whether you use ncdu or another disk usage manager that will solve you problem of finding out why you're consuming all of your disk space.

One other relevant point is that because these are "symlinked" (called firmlinks by Apple), some disk inventory apps don't know how to handle this and end up in a recursion scenario when trying to understand total disk usage. I've seen this behavior with ncdu also. That being said, if you run the disk inventory on a subfolder of /System/Volumes/Data/, e.g.:

cd /Users
ncdu

It should avoid these issues.

like image 86
dxdc Avatar answered Oct 08 '22 13:10

dxdc