Go Back   The macosxhints Forums > OS X Help Requests > OS X Server

Thread Tools Rate Thread Display Modes
Old 04-01-2012, 07:21 PM   #1
Posts: n/a
Mac Server Hard Drive almost full

OS Server 4.1 running OS 10.5.8 and Parallels 5; 600 GB HD with only 42 GB remaining.
By using a Terminal command (sudo du -x -h -d 1 /), I was able to identify a "Shared Folder" as occupying 523GB. The problem is that when I highlight the folder and click GetInfo, it only shows it to be 5.07GB. I also ran WhatSize, and it correctly indicated my 595GB HD had 554GB used, but the list it produced for the "Shared Folder" showed it to be only 5.07GB
Does anyone have any thoughts on this dilema?
  Reply With Quote
Old 04-04-2012, 04:54 PM   #2
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,841
Using the Finder's Get Info or other tools that run in the GUI such as WhatSize, you will only see the statistics for files that you have permission to, but the 'sudo du...' command will show you statistics for everything, since 'sudo' gives you temporary root access, and root user knows all. So there's a bunch of stuff in the Shared folder that your user doesn't have permission to see. But it's there.

For the below, I'm assuming that when you say "Shared Folder", you actually mean the "Shared" folder which is in the Users directory? If you mean some other folder then please let us know.

Can we see the results from the Terminal of

ls -alOe /Users/Shared
sudo du -x -h -d 2 /Users/Shared
echo "done"

trevor is offline   Reply With Quote
Old 04-05-2012, 09:21 AM   #3
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,120
also you can use http://www.omnigroup.com/products/omnidisksweeper/
to see what is taking up space.
agentx is offline   Reply With Quote
Old 04-05-2012, 06:25 PM   #4
League Commissioner
Join Date: Mar 2003
Location: Bay Area, CA
Posts: 11,352
Have you tried rebooting it? What services does this server run?
sudo make me a sammich
tlarkin is offline   Reply With Quote
Old 04-09-2012, 05:03 PM   #5
Join Date: Feb 2009
Posts: 13
I would guess that the problem is that the files taking up all the space are owned by another user so "you" can't see them to find their size. Try running OmniDisksweeper as root or using the CLI as root to look in that folder.
sudo /Applications/OmniDiskSweeper/Contents/MacOS/OmniDiskSweeper
ehemmete is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:19 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.