The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Hardware and Peripherals (http://hintsforums.macworld.com/forumdisplay.php?f=21)
-   -   what happened to my hard drive Space?!?! (http://hintsforums.macworld.com/showthread.php?t=71954)

DE9 07-09-2010 11:07 PM

Aside from the methods mentioned here, you can also use the application Grand Perspective to track down exactly what is stored where on your computer, using a graphical interface. Has helped me quite a bit in 'missing hard drive space' situations.

http://grandperspectiv.sourceforge.net/

acme.mail.order 07-10-2010 01:35 AM

Quote:

Originally Posted by dcrumbine (Post 589112)
Would love a suggestion on this challenge.

From the "sudo du -x -h -d 1 /" command, I see this as my result:
<snip>
Thus, how is it possible that the math doesn't add up? With a capacity of 231G, the numbers above (outside of the external volumes/hard drives such as the 128G) don't add up anywhere close to 231.

Your calculator needs new batteries:

3.5G /Applications
4.6G /Library
5.0G /private
2.3G /System
86G /Users
468M /usr
128G /Volumes

= 229 Gb, plus the small stuff plus base 10 / base 2 issues equals about 231 Gb

The final number is not drive capacity, it's the sum of whatever du finds. It also includes files in the searched folder but single files are not listed separately.

Try:

df -h

hayne 07-10-2010 03:43 AM

Quote:

Originally Posted by dcrumbine (Post 589112)
From the "sudo du -x -h -d 1 /" command, I see this as my result:

8.0K /.bzvol
3.1M /.fseventsd
84M /.Spotlight-V100
0B /.Trashes
0B /.vol
3.5G /Applications
3.9M /bin
0B /cores
4.5K /dev
1.0K /home
4.6G /Library
1.0K /net
0B /Network
5.0G /private
2.6M /sbin
2.3G /System
86G /Users
468M /usr
128G /Volumes
231G /

Thus, how is it possible that the math doesn't add up? With a capacity of 231G, the numbers above (outside of the external volumes/hard drives such as the 128G) don't add up anywhere close to 231. What am I missing?

I think what you are missing is that the "-x" option to 'du' makes it exclude external drives, so that 128 GB in /Volumes is (almost certainly) detritus from some previous incident when a mounted drive was not properly unmounted.

First unmount and physically disconnect all external drives and network drives.
(To be really safe, disconnect all network cables and turn off Airport.)
Then use the menu item "Go to Folder..." from Finder's "Go" menu, and then type in "/Volumes" (without the quotes).

Look at the contents of the /Volumes folder.
If you see anything other than the one entry for your internal drive, that is likely the detritus I spoke of above.

Use Finder to trash the left over folders from /Volumes. (If you are sure that no external disks or network drives are connected then this can't affect what is on the external disks.) Finally, empty the Trash.

acme.mail.order 07-10-2010 04:37 AM

I saw that too, but until we know the details (such as whch OS version, and correct sizes of all volumes) I'm assuming that it's adding up an external drive.


All times are GMT -5. The time now is 11:51 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.