Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kikkavella

macrumors newbie
Original poster
May 27, 2018
4
0
Hi I'm using a MacBook Air (13-inch, Early 2014) running it on

I noticed that System is taking up all my space (230GB out of 2, but when I do checks on what exactly is being used, I on High Sierra 10.13.3

I have 6GB of space available as 230GB is being used for system.

The problem is that I cant identify what is using all this space.

When I ran Disk Utility X it said I was using about 245GB, but then only analysed about 40GB of it.

I ran Clean My Mac and it freed up a small amount of space, but nothing from the 230GB being used for system.

I noticed that a big problem for users was timemachine snapshots, I checked and I didnt have anything to remove from snapshots, so it isnt timemachine.

Looking through another forum I saw that you can identify where the space is being used by running this in terminal:
sudo du -d 1 -x -c -g /

When I did that, I got the following, which i think means I am using a total of 37GB - I have no idea where the other 200GB are...


Code:
0 /.HFS+ Private Directory Data

1 /home

1 /usr

1 /.Spotlight-V100

1 /net

0 /.PKInstallSandboxManager

1 /.PKInstallSandboxManager-SystemSoftware

1 /bin

0 /Network

1 /sbin

6 /Library

0 /.Trashes

7 /System

1 /vm

1 /.fseventsd

du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted

du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted

du: /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/D5B735EB-A3A6-41A7-A906-C025F987A204.sandboxTrash/Keynote.app/Contents/SharedSupport/DocumentResources/d1/97368e4fa2e724234393b99320a096ec54a581.jpeg: No such file or directory

du: /private/var/folders/dw/6g40gnl966d5_ccgyb713yhm0000gn/0/SafariFamily: Operation not permitted

du: /private/var/folders/dw/6g40gnl966d5_ccgyb713yhm0000gn/0/com.apple.LaunchServices.dv: Operation not permitted

du: /private/var/folders/dw/6g40gnl966d5_ccgyb713yhm0000gn/0/com.apple.nsurlsessiond: Operation not permitted

du: /private/var/folders/dw/6g40gnl966d5_ccgyb713yhm0000gn/0/com.apple.routined: Operation not permitted

5 /private

1 /.DocumentRevisions-V100

0 /.vol

13 /Users

6 /Applications

1 /dev

1 /Volumes

0 /cores

37 /

37 total



Does anyone have any ideas on how I can fix this?

Thanks so much :)
 
Last edited by a moderator:
Try running this in Terminal to delete the TM snapshots then see where you sit.

Code:
tmutil  listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done
 
Try running this in Terminal to delete the TM snapshots then see where you sit.

Code:
tmutil  listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done
Just tried and nothing changed in system storage.
 
That DU command shows you only have 37 GB used. Is it just that About storage graphic that is showing more used? If so, what happens sometimes is the Spotlight index gets corrupted and that causes that storage readout to be all wrong.

Try running this command to reindex Spotlight then check and see if the storage readout is better. Give it a half hour or so to complete the reindex.
 
That DU command shows you only have 37 GB used. Is it just that About storage graphic that is showing more used? If so, what happens sometimes is the Spotlight index gets corrupted and that causes that storage readout to be all wrong.

Try running this command to reindex Spotlight then check and see if the storage readout is better. Give it a half hour or so to complete the reindex.


I tried to do a iTunes back up of an iPhone and it told me I didn’t have enough space, which is when I noticed storage was almost full.

I found a programme called disk inventory x to check what is using all that space and it was first showing about 245GB used and when I ran the programme the total was about 40Gb.

What command should I try running?

Btw this problem is on my father’s laptop so I’ll be able to run it about this time tomorrow.

Thanks so much for the help :)
 
Try the following two commands and paste the results.

Code:
df -h
diskutil list

These will gives us the physical disk information.

DS
 
Try the following two commands and paste the results.

Code:
df -h
diskutil list

These will gives us the physical disk information.

DS

Filesystem Size Used Avail Capacity iused ifree %iused Mounted on

/dev/disk1s1 234Gi 225Gi 3.7Gi 99% 612373 9223372036854163434 0% /

devfs 189Ki 189Ki 0Bi 100% 654 0 100% /dev

/dev/disk1s4 234Gi 4.0Gi 3.7Gi 53% 4 9223372036854775803 0% /private/var/vm

map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net

map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home

Martins-MacBook-Air:~ martinvella$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 250.8 GB disk0s2


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +250.8 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 241.9 GB disk1s1

2: APFS Volume Preboot 20.3 MB disk1s2

3: APFS Volume Recovery 510.0 MB disk1s3

4: APFS Volume VM 4.3 GB disk1s4
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.