Sponsored in part by... Freeverse Freeverse, Inc.'s SOUND STUDIO 3.5.5 - Sound Studio is for anyone
who needs to record or edit audio with a professional tool, but at
a consumer price. Perfect for Podcasts, Music, More! Now updated
for OS X 10.5 Leopard. <http://www.freeverse.com/soundstudio>

 [F] TidBITS  / TidBITS  / TidBITS Talk  /

Dealing with Doppelganger Folders in /Volumes

[Potter, Bruce]Bruce Potter (apparently) - 08:59am Jun 10, 2008 PST
via email

When I first read Adam's description of the /Volume problems he had last month, I thought I was seeing the answer to my own "disappearance" of 55+ gigabytes of DISK SPACE (not disappeared FILES, rather, the space is not available on my MacBook Black with OS 10.5.3).

Here's my problem in detail:

New MacBook Black: Installed 79 gigs, Finder says 136 gigs used

I have a problem of "phantom data files" taking up 55 gigabytes on my new MacBook Black, OS 10.5.3, after I transferred 76 gigs from my old iBook G4.
 I set up my new MacBook (second one actually, first was DoA), and installed all my stuff off the old iBook G4 -- total with new OS 10.5.3, plus data and applications from iBook G4, is about 79 GIGABYTES.

BUT, the FINDER says I have used 136 gigabytes, with about 100 gigs left on the disk.

. . . and Time Machine backs up (first operation) 136 gigabytes.

Go into DISKINVENTORY-X, and it says 79 GIGABYTES -- Get TinkerTool, and GrandPerspective and view all hidden files and mysterious stuff, and it STILL says 79+ Gigabytes.

Oh -- did have one strange thing when I did the install/Migration Assistant transfer of data from the iBook. Saw and worked with some of the items in my 12 gigabyte PICTURE folder after they showed up on the new machine. Then the Picture folder disappeared (not while I was actively working with it, but a few hours later), I just happened to notice my username did NOT have a PICTURE folder. (and there was NONE in the .TRASH folder. But that was only 12 gigs --- the total lost space is like 55+ gigs.

Following on Adam's experience and comments, I checked the /Volumes directory, and see only ALIAS files for the "Macintosh HD" and "Time Machine."

So still no explanation for the phantom 56 gigs that have been gobbled up on both the MacBook harddisk, AND on the external hard disk.

And a final observation: since I first noticed this issue last Friday (June6th) and have otherwise continued to work with the MacBook, it seems that adding new files to my data and applications also results in some increase in the "missing" space.

Any ideas about what's happening?

I consulted the Leopard forum on Apple's discussion groups, but the best that could be surfaced there was to suggest that the problems stem from a quirk in Migration Assistant when moving files from the PowerPC to the Intel-based platform.

bruce potter

</di


Mark as Read
  OutlineAll MessagesOlder MessagesOldest MessagesNewest MessagesNewer Messages

cdevers (apparently) - Jun 10, 2008 12:07 pm (#1 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 163
Re: Dealing with Doppelganger Folders in /Volumes

On Jun 10, 2008, at 12:59 PM, Potter at Island Resources wrote:

> When I first read Adam's description of the /Volume problems he had
> last month, I thought I was seeing the answer to my own
> "disappearance" of 55+ gigabytes of DISK SPACE (not disappeared
> FILES, rather, the space is not available on my MacBook Black with
> OS 10.5.3).

Maybe you can tease it out from Terminal.

The `du` command ("disk usage") is the best starting point:

     sudo -du -sch /* /.*

After entering your admin password, that should generate a little
report indicating how big each top-level folder are, including folders
hidden from the Finder and even ones normally hidden from the command
line.

Chances are, it's going to tell you that one of the folders is roughly
55GB. Let's assume it's /private, as that's one that Finder & Disk
Inventory X can't see, and occasionally it gets huge. You can drill
down a level to see what folder under there is the big one:

     sudo -du -sch /private/*

At a guess, I'm guessing you might have one or more big log files in /
private/var/log, or *maybe* some stray virtual memory files under /
private/var/vm.

I would *not* delete anything under /private before running it by
someone, as there are some absolutely essential files in there that
will prevent the system from booting & running properly if they are
missing or damaged. If you want, paste the output from the `du`
commands in an email and I can try to help in more detail.


--
Chris Devers

Nigel Stanger (apparently) - Jun 11, 2008 12:40 pm (#2 Total: 10)  

Reply to this message
via email - Dunedin, New Zealand  

Photo of Author
Posts: 448
Re: Dealing with Doppelganger Folders in /Volumes

On 11/06/2008 8:07 AM, "Chris Devers" <cdeverspobox.com> spake thus:

> sudo -du -sch /* /.*

Of course, that should be:
   
    sudo du -sch /* /.*

(no "-" before the "du")

--
Nigel Stanger, Dunedin, NEW ZEALAND.
http://xri.net/=nigel.stanger


Nigel Stanger (apparently) - Jun 12, 2008 9:17 am (#3 Total: 10)  

Reply to this message
via email - Dunedin, New Zealand  

Photo of Author
Posts: 448
Re: Dealing with Doppelganger Folders in /Volumes

On 11/06/2008 8:07 AM, "Chris Devers" <cdeverspobox.com> spake thus:

> sudo -du -sch /* /.*

Note also that you should unmount any network volumes before you do this,
otherwise it'll scan those as well (taking a LOT longer than necessary, and
probably spewing permission warnings along the way if it's a shared volume).

--
Nigel Stanger, Dunedin, NEW ZEALAND.
http://xri.net/=nigel.stanger


johnbaxterlists (apparently) - Jun 12, 2008 9:17 am (#4 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 678
Re: Dealing with Doppelganger Folders in /Volumes



On Jun 11, 2008, at 1:40 PM, Nigel Stanger wrote:

> On 11/06/2008 8:07 AM, "Chris Devers" <cdeverspobox.com> spake thus:
>
>> sudo -du -sch /* /.*
>
> Of course, that should be:
>
> sudo du -sch /* /.*
>
> (no "-" before the "du")

And I worry about the /.* part, although at least we're talking
about /, so .. is the same thing as . That may bail the command out
(or not). I know I get messed up regularly by .. being matched by .*

   --John (deliberately not putting a trailing period on the final
sentence)



mvgfr (apparently) - Jun 15, 2008 11:50 pm (#5 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 24
Re: Dealing with Doppelganger Folders in /Volumes

sudo du -xkcd9 / | sort -rn | top -100

will show the largest 100
in decreasing order
to a directory/folder depth of 9
on the boot volume only, skipping any other volumes
no mater where located (hidden, root-accessible, whatever)

You may recognize the xkcd in there; apparently no relation to
http://xkcd.com/; just coincidence... :)

ron (apparently) - Jun 17, 2008 2:32 pm (#6 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 35
Re: Dealing with Doppelganger Folders in /Volumes

On 16Jun2008, at 00:50, Marc Farnum Rendino wrote:

> sudo du -xkcd9 / | sort -rn | top -100
>
> will show the largest 100
> in decreasing order
> to a directory/folder depth of 9
> on the boot volume only, skipping any other volumes
> no mater where located (hidden, root-accessible, whatever)

did you perhaps mean:

sudo du -xkcd9 / | sort -rn | head -n 100

--Ron

--
Ron Risley
www.risley.net





kgani (apparently) - Jun 17, 2008 2:32 pm (#7 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 33
Re: Dealing with Doppelganger Folders in /Volumes

he, funny that it has become the norm that noone actually tests their
own CLI-stuff before posting. This should work better:

sudo du -xkcd9 / | sort -rn | head -100

There is no such thing as top -100...

Best regards,

Kim

mvgfr (apparently) - Jun 27, 2008 4:48 am (#8 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 24
Re: Dealing with Doppelganger Folders in /Volumes

On Tue, Jun 17, 2008 at 6:32 PM, Ron Risley <ronrisley.net> wrote:
> did you perhaps mean:
>
> sudo du -xkcd9 / | sort -rn | head -n 100

Good catch; thanks! :)

- Marc

mvgfr (apparently) - Jun 27, 2008 4:48 am (#9 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 24
Re: Dealing with Doppelganger Folders in /Volumes

On Tue, Jun 17, 2008 at 6:32 PM, Kim Gammelgård <kganimac.com> wrote:
> he, funny that it has become the norm that noone actually tests their
> own CLI-stuff before posting.

Or you test it - and then add just one more thing. :)

George Wade (apparently) - Jul 1, 2008 4:04 am (#10 Total: 10)  

Reply to this message
via email  

Photo of Author
Posts: 187
Re: Dealing with Doppelganger Folders in /Volumes

You both have points:

On 27-Jun-08, at 5:48 AM, Marc Farnum Rendino wrote:

> On Tue, Jun 17, 2008 at 6:32 PM, Kim Gammelgård <kganimac.com> wrote:
>> he, funny that it has become the norm that noone actually tests their
>> own CLI-stuff before posting.
>
> Or you test it - and then add just one more thing. :)

A sliding scale of certainty; authority and UTILITY would be an
immense time saver. Perhaps improvements on YMMV already exist ?

ABBTTT = Back-up before trying this trick would at least be of high
utility: in the rare case of it being followed.

JaP = Just a possibility

ITT25 = I've (personally) tried this 25 times

xyz HTTx = Joe / Jill xyz has tried this x times.

SPabc = Standard Practice abc...

George




  OutlineAll MessagesOlder MessagesOldest MessagesNewest MessagesNewer Messages


 [F] TidBITS  / TidBITS  / TidBITS Talk  / Dealing with Doppelganger Folders in /Volumes




Add a message

To add a message to this discussion, you must be a registered user. Enter your email address below. If you have an account associated with the email address you enter, you will be prompted for your password. If not, you'll be able to create a new account with no fuss.

Enter your email address:

Submit