11 Replies Latest reply: Feb 2, 2013 7:53 AM by kdhayes
kdhayes Level 1 Level 1 (0 points)

Looking at my iMac hard drive, I see ~500GB of space being used.  That's much higher than I expect (I have my iPhoto and iTunes libraries on an external hard drive).  Looking at each subfolder individually, the storage only adds up to about ~260GB.  Where is this almost double storage coming from.  I attached a quick screen shot of the Mac summary with the subfolder opened behind. 

 

Could the drive have been doubled somehow with it clearly showing up?

 

Thanks in advance for any help.

 

Kyle


iMac (24-inch Early 2009), OS X Mountain Lion (10.8)
  • 1. Re: My hard drive is almost double the GB of the subfolders?
    kdhayes Level 1 Level 1 (0 points)

    Forgot to attach the image...Screen Shot 2013-02-02 at 6.32.04 AM.png

  • 2. Re: My hard drive is almost double the GB of the subfolders?
    ssls6 Level 4 Level 4 (2,715 points)

    Interesting, I see how the total doesn't add up.  I did the same thing on my imac to see and my totals add.  Here is something you can try to see where your storage is going.

     

    Open a terminal window.......found in applications/utilities/terminal

     

    change to the root directory (type next line in the window)

    cd /

     

    to test you are at the right location do a simple listing (type next line in the window)

    ls

     

    you should see all the folders and files at your root level, if you want to get a size report you can type this

    sudo du -d 1 -c -x -g

     

    you will be asked for a password, put that in and the du command will traverse your drive and total up the used space.  the output is in gigabytes.  Here is an example of my drive

     

    Richards-iMac:/ rknipe$ sudo du -d 1 -c -x -g

     

     

    WARNING: Improper use of the sudo command could lead to data loss

    or the deletion of important system files. Please double-check your

    typing when using sudo. Type "man sudo" for more information.

     

     

    To proceed, enter your password, or type Ctrl-C to abort.

     

     

    Password:

    1          ./.DocumentRevisions-V100

    1          ./.DocumentRevisions-V100 (from old Mac)

    1          ./.fseventsd

    2          ./.Spotlight-V100

    0          ./.Trashes

    0          ./.vol

    29          ./Applications

    1          ./bin

    0          ./cores

    1          ./dev

    1          ./home

    6          ./Library

    1          ./net

    0          ./Network

    1          ./opt

    2          ./private

    1          ./sbin

    4          ./System

    336          ./Users

    1          ./usr

    1          ./Volumes

    376          .

    376          total

    Richards-iMac:/ rknipe$

     

    You can see I have most of my space used for "Users"....that is my home directory and the home directories of anyone else that uses my computer.

     

    If I change into Users and issue the command again I get

     

    Richards-iMac:Users rknipe$ sudo du -d 1 -c -x -g

    Password:

    1          ./lknipe

    335          ./rknipe

    1          ./Shared

    336          .

    336          total

     

    So I use all of it and my wife only uses 1 gig.  If I go one level deeper into my own directory and reissue the command

     

    Richards-iMac:~ rknipe$ sudo du -d 1 -c -x -g

    1          ./.cache

    1          ./.cups

    1          ./.dvdcss

    1          ./.fontconfig

    1          ./.ssh

    0          ./.Trash

    1          ./.vnc

    1          ./Calibre Library

    1          ./Desktop

    89          ./Documents

    1          ./Downloads

    17          ./Library

    1          ./Movies

    222          ./Music

    9          ./Pictures

    0          ./Public

    0          ./Sites

    335          .

    335          total

     

    My music is the biggest folder followed by documents....get the idea?

  • 3. Re: My hard drive is almost double the GB of the subfolders?
    kdhayes Level 1 Level 1 (0 points)

    Thanks.  So this is what I see:

     

    Last login: Thu Jan 31 18:20:36 on console

    new-host-3:~ kyledhayes$ cd /

    new-host-3:/ kyledhayes$

    new-host-3:/ kyledhayes$ cd/

    -bash: cd/: No such file or directory

    new-host-3:/ kyledhayes$ ls

    Applications            etc

    Library                home

    Network                lost+found

    System                mach_kernel

    User Guides And Information    net

    Users                private

    Volumes                sbin

    autobahn-log.txt        tmp

    bin                usr

    cores                var

    dev

    new-host-3:/ kyledhayes$ sudo du -d 1 -c -x -g

     

    WARNING: Improper use of the sudo command could lead to data loss

    or the deletion of important system files. Please double-check your

    typing when using sudo. Type "man sudo" for more information.

     

    To proceed, enter your password, or type Ctrl-C to abort.

     

    Password:

    1    ./.DocumentRevisions-V100

    1    ./.fseventsd

    1    ./.Spotlight-V100

    0    ./.Trashes

    0    ./.vol

    6    ./Applications

    1    ./bin

    0    ./cores

    1    ./dev

    1    ./home

    8    ./Library

    0    ./lost+found

    1    ./net

    0    ./Network

    8    ./private

    1    ./sbin

    4    ./System

    215    ./Users

    1    ./usr

    229    ./Volumes

    467    .

    467    total

    new-host-3:/ kyledhayes$

     

    So I have 229 GB in volumes?  I have 2 external hard drives, one as a time machine backup and one to keep all the media on and have iphoto and itunes pull from it, to keep it off the hard drive.  How is the storage from my external drives, showing up on the Mac hard drive?

     

    I don't know how to get into ./Volumes from here (it says my last login was Jan 31 from console...weird). what would the exact prompt be after the last line:  new-host-3:/ kyledhayes$ (sorry, i'm mac literate, but not proficient).

  • 4. Re: My hard drive is almost double the GB of the subfolders?
    ssls6 Level 4 Level 4 (2,715 points)

    that's kind of weird.  Volumes should only contain your mount points (like external HD's).

     

    If you cd into volumes (cd /Volumes) and type the command (ls -agl) what do you get?

     

    Here is my example

     

    Richards-iMac:Volumes rknipe$ ls -agl

    total 8

    drwxrwxrwt@  6 admin   204 Feb  2 06:14 .

    drwxr-xr-x  32 wheel  1156 Jan 29 05:16 ..

    drwxrwxr-x  13 staff   510 Nov 27 21:37 Backup

    lrwxr-xr-x   1 admin     1 Jan 29 16:32 Macintosh HD -> /

    drwxrwxr-x  20 staff   748 Feb  1 14:29 Media

    drwxr-xr-x  28 wheel  1020 Jan 29 05:16 xBoot

  • 5. Re: My hard drive is almost double the GB of the subfolders?
    kdhayes Level 1 Level 1 (0 points)

    new-host-3:volumes kyledhayes$ ls -agl

    total 8

    drwxrwxrwt@  6 admin   204 Feb  2 06:50 .

    drwxrwxr-t  35 admin  1258 Jan 31 23:31 ..

    drwxrwxr-t@ 24 admin   816 Oct 29 20:06 Mac Hard Drive

    lrwxr-xr-x   1 admin     1 Jan 31 18:20 Mac Hard Drive 1 -> /

    drwxrwxr-x@ 20 staff   748 Feb  2 07:01 Media Backup

    drwxrwxr-x@ 18 staff   680 Aug  3  2012 Time Machine Mac Backup

    new-host-3:volumes kyledhayes$

  • 6. Re: My hard drive is almost double the GB of the subfolders?
    ssls6 Level 4 Level 4 (2,715 points)

    This looks like the problem

     

    drwxrwxr-t@ 24 admin   816 Oct 29 20:06 Mac Hard Drive

    lrwxr-xr-x   1 admin     1 Jan 31 18:20 Mac Hard Drive 1 -> /

     

     

    It looks like an old copy of your HD in the volumes folder.  I'm not sure what sequence of events put it there but I would make sure my backups are good.  The permissions look a bit wonky too.  I've got to head out but you can try reboot into recovery mode, get into disk utility, repair your HD and your HD permissions.  Then take another look at what's in Volumes.

  • 7. Re: My hard drive is almost double the GB of the subfolders?
    kdhayes Level 1 Level 1 (0 points)

    If I search the volumes, I get this: 

     

    new-host-3:volumes kyledhayes$ ls -agl

    total 8

    drwxrwxrwt@  6 admin   204 Feb  2 06:50 .

    drwxrwxr-t  35 admin  1258 Jan 31 23:31 ..

    drwxrwxr-t@ 24 admin   816 Oct 29 20:06 Mac Hard Drive

    lrwxr-xr-x   1 admin     1 Jan 31 18:20 Mac Hard Drive 1 -> /

    drwxrwxr-x@ 20 staff   748 Feb  2 07:01 Media Backup

    drwxrwxr-x@ 18 staff   680 Aug  3  2012 Time Machine Mac Backup

    new-host-3:volumes kyledhayes$ sudo du -d 1 -c -x -g

    Password:

    229    ./Mac Hard Drive

    0    ./Media Backup

    0    ./Time Machine Mac Backup

    229    .

    229    total

    new-host-3:volumes kyledhayes$

  • 8. Re: My hard drive is almost double the GB of the subfolders?
    Frank Caggiano Level 7 Level 7 (23,795 points)

    Did you ever restore your system from a Time Machine (or other backup)?

     

    What ssls6 has helped you discover is a symptom of an incorrect restore. See OS X Tips: Where did my Disk Space Go

     

    Basically what you potentially have is a 'false volume' The above link will explain it and help correct it.

     

    regards

  • 9. Re: My hard drive is almost double the GB of the subfolders?
    kdhayes Level 1 Level 1 (0 points)

    Thanks to both ssls6 and Frank.  Frank, that was the problem.  We had restored from a timemachine backup a couple months back and a second Mac Hard Drive folder was there.  I deleted that and this is what I get now:

     

    Last login: Sat Feb  2 08:08:40 on ttys000

    new-host-3:~ kyledhayes$ cd /

    new-host-3:/ kyledhayes$ sudo du -d 1 -c -x -g

    Password:

    1    ./.DocumentRevisions-V100

    1    ./.fseventsd

    1    ./.Spotlight-V100

    0    ./.Trashes

    0    ./.vol

    6    ./Applications

    1    ./bin

    0    ./cores

    1    ./dev

    1    ./home

    8    ./Library

    0    ./lost+found

    1    ./net

    0    ./Network

    8    ./private

    1    ./sbin

    4    ./System

    215    ./Users

    1    ./usr

    1    ./Volumes

    239    .

    239    total

    new-host-3:/ kyledhayes$

     

    Thanks so much for the help!

  • 10. Re: My hard drive is almost double the GB of the subfolders?
    ssls6 Level 4 Level 4 (2,715 points)

    Looks like you've got it undercontrol.  Now that your internal drive is in good shape, consider redoing your backups and/or clones so they are not contaminated with the false directory in /Volumes.

  • 11. Re: My hard drive is almost double the GB of the subfolders?
    kdhayes Level 1 Level 1 (0 points)

    Yeah, I agree.  Since it's time machine, i really should have good backups at the first save after making the changes (hourly throughout today).  I'll just have to note that any backups used should be after this date/time, right?

     

    Thanks, again.