Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: rjbinney on June 28, 2011, 03:50:23 PM

Title: What's Taking Up All the Disk Space?
Post by: rjbinney on June 28, 2011, 03:50:23 PM
This is specifically about a USB stick in Win 7, but I bet it's a larger issue.

I put my stick in (!) today and tried to copy a folder, but was told there was no room on the stick.

What? There's hardly anything on it!

If I look at the stick in Windows Explorer, I see a small abandoned temp file and and two subdirectories:
(http://img851.imageshack.us/img851/3043/overallscreenshot.png)

The subdirectories don't have much in them:
(http://img94.imageshack.us/img94/4100/api.png)        |       (http://img820.imageshack.us/img820/779/oldstuff.png)

But apparently Windows THINKS there's a lot on this disk:
(http://img846.imageshack.us/img846/6594/spaceo.png)

Now, before you can say "Hidden files":
(http://img812.imageshack.us/img812/6061/settingss.png)
AND I have the "protected files" SHOWING, so anything weird ought to pop up, yes?


It's not important - I will either just "wipe empty space" in cCleaner or reformat. I just don't understand what's the cause of this.

Thanks!
Title: Re: What's Taking Up All the Disk Space?
Post by: Geek-9pm on June 28, 2011, 05:48:26 PM
USB devices can be annoying. That was true before Windows 7 came along.
What about other USB sticks?
What it you put it in another PC?
Was the thing formatted in Win 7 ?

Title: Re: What's Taking Up All the Disk Space?
Post by: Computer_Commando on June 28, 2011, 05:58:49 PM
I assume USB stick is larger than 128MB?
All I can think of is FAT (FAT16) format has limited Volume size.  Format to FAT32.
Title: Re: What's Taking Up All the Disk Space?
Post by: patio on June 28, 2011, 07:34:26 PM
It's showing as a 120MG stik....
Thats kinda small...and how large was the file you were transferring ? ?
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on June 28, 2011, 10:17:54 PM
It is a 128 stick (it was a gift from a client, most likely formatted in XP). I didn't try the "usual" troubleshooting (other machines, other sticks), as I'm not really concerned about this specific instance. I was just wondering if there was a particular reason why something like this would happen. I mean, in most instances you wouldn't notice something taking up 120MB of "ghost" space, but here I did.

So more curious than anything else.
Title: Re: What's Taking Up All the Disk Space?
Post by: BC_Programmer on June 29, 2011, 10:27:40 AM
run chkdsk on the drive. There are likely lost chains consuming space that aren't connected to any files.
Title: Re: What's Taking Up All the Disk Space?
Post by: patio on June 29, 2011, 05:44:56 PM
It's 128 MG...no wonder it's out of space.
Title: Re: What's Taking Up All the Disk Space?
Post by: Geek-9pm on June 29, 2011, 05:59:14 PM
It's 128 MG...no wonder it's out of space.
Right, those milligram drives don't hold much.
Title: Re: What's Taking Up All the Disk Space?
Post by: BC_Programmer on June 29, 2011, 06:25:07 PM
It's 128 MG...no wonder it's out of space.

2MB of space is used.

The rest is still allocated, and unusable for new files.
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on June 29, 2011, 09:24:57 PM
It's 128 MG...no wonder it's out of space.
? You're missing the point.

I will try chkdsk. What causes THAT?

Thanks!
Title: Re: What's Taking Up All the Disk Space?
Post by: Geek-9pm on June 29, 2011, 09:34:34 PM
Quote
What causes THAT?
Morphy's Law   ;D
http://en.wikipedia.org/wiki/Murphy%27s_law
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on June 30, 2011, 08:46:36 AM
And I know the 128 mg drive is too small. The 4KG drive gets heavy after a while.

I think I'm going to get one in the 1 - 2 tbsp range and see if that works. Usually I just need to share a pinch of data.
Title: Re: What's Taking Up All the Disk Space?
Post by: Geek-9pm on June 30, 2011, 11:55:09 AM
A 2 GB flash drive is good for just a pinch of data..
For under $20 they will engrave your name on it.

In my experience, Flash drives vary in duality. So by more that one.
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on July 26, 2011, 12:21:59 PM
Obviously my puns weren't measuring up....

Hey - ran chkdsk, still telling me there's lots of space being taken up by something(s).

What? Where?

(http://img231.imageshack.us/img231/2307/screenclip2.png)
Title: Re: What's Taking Up All the Disk Space?
Post by: BC_Programmer on July 26, 2011, 12:30:02 PM
Obviously my puns weren't measuring up....

Hey - ran chkdsk, still telling me there's lots of space being taken up by something(s).

delete the files that are now in the FOUND.000 folder on the flash drive. It might be hidden.

What happened here was the space was taken up by Lost chains.

A basic explanation of it is that as files are allocated, the system finds a empty area, marks it as used by the file, and if it still needs more clusters to finish storing the file, it will keep looking, and then basically put a marker at the end of the other one that says "there is more data over Here" and include a pointer to the next cluster.

Lost chains are what you get when there are bits of files that are no longer being referenced- that is, there are chains of clusters storing file data, but no other chains say "there is more data here" and the File table doesn't actually use it. These are still allocated, and there is no way to delete them- chkdsk can find these, and can either delete them (if you press N) or convert them to individual files (if you press Y) typically, the files that result are each a single cluster  (usually 4KB or so) and if you want to reconstruct it it would be like putting together a puzzle with a million extra pieces. I know because I actually had to reconstruct/recover some source code files from a flash drive that had similar symptoms.
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on July 26, 2011, 12:46:06 PM
Thanks. I THOUGHT I still had "Hide Protected Files" UNchecked, but turns out it had been re-checked since last time I posted. Should have looked before posting!

Thanks
Title: Re: What's Taking Up All the Disk Space?
Post by: Allan on July 26, 2011, 12:46:47 PM

http://www.jam-software.com/freeware/ (http://www.jam-software.com/freeware/)
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on July 26, 2011, 03:26:54 PM
http://www.jam-software.com/freeware/ (http://tweaks.com/forum/Topic261663-14-1.aspx?Update=1)
OK, I'll bite - what am I looking for here?

(Or are you throwing me out of CH?)
Title: Re: What's Taking Up All the Disk Space?
Post by: Salmon Trout on July 26, 2011, 03:44:58 PM
[url = http://tweaks.com/forum/Topic261663-14-1.aspx?Update=1 ] http://www.jam-software.com/freeware/[ /url ]

That blue text which reads "http://www.jam-software.com/freeware/" is actually associated with a link to "http://tweaks.com/forum/"

I messed with the php code to make it show up in the quote.

Jam-software has a freeware app called Tree Size Pro which will, as they claim, "quickly scan directory sizes and find space hogs"




Title: Re: What's Taking Up All the Disk Space?
Post by: Allan on July 26, 2011, 03:51:23 PM
WOW - that's strange. Somehow got the links mixed up there - crossed wires. I'll fix it now.

I was suggesting you download and run treesize
Title: Re: What's Taking Up All the Disk Space?
Post by: rjbinney on July 26, 2011, 04:15:24 PM
Yeah, it took me to Tweaks forum's homepage.

I had already deleted the "FOUND.*" files, so I'll have to wait til another opportunity presents.

Thanks, though!