LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Where did my space go? (https://www.linuxquestions.org/questions/linux-general-1/where-did-my-space-go-312529/)

benne 04-12-2005 04:22 PM

Where did my space go?
 
I have a really weird problem with my disc space. Ive had this problem for some time now, but the differense hasnt been this big until now, since i started deleting old stuff and/or burning on DVDR.

Ok, this is what df tells me.
Code:

benne@eternity benne $ df -h
Filesystem            Size  Used Avail Use% Mounted on
[.....]
/dev/hdb1            115G  87G  29G  76% /mnt/data
[....]
benne@eternity benne $ df -H
Filesystem            Size  Used  Avail Use% Mounted on
[...]
/dev/hdb1              124G    93G    31G  76% /mnt/data
[...]
benne@eternity benne $

Accoring to -h, i should have only 19 gb left and according to -H it should be 20G. The problem is that when i count with nautilus i only use about 55G of space. Same when i count with ls (ls -lh|grep total) i get about 50-60 gb. And with some common sense ive figured out i just cant be abut 90G in use.

Also the partition is a vfat partition (back in the days i was starting off with linux). Maybe that is the problem.

So what is the problem, my guess is that it has something to do with some kind of syncronizing between the vfat driver and linux. (im using gentoo if that is to any help) Can I clean that up (maybe some kind of buffer needs to be cleaned/updated/refreshed) or something. Or can I just convert to ext3 if that is possible and then it will be OK?

Does this seem familiar to any of you?

Tinkster 04-12-2005 04:33 PM

Well ... nauseous will report on actual file-sizes, df
will count allocated clusters ... if you happen to have
a cluster size of 4K, and have 20,000 1-byte files,
nauseous will report 20K to be used, df will account
for the actually USED 78M ...


Cheers,
Tink

benne 04-13-2005 04:42 AM

So, basicly, moving everything i want to keep to another disc and then formatting /dev/hdb1 with ext3 would solve the problem?

Tinkster 04-13-2005 01:19 PM

I don't know how small the inodes in ext3 on a partition
that big will be :) ... Reiser uses 2048bytes by default
and can be tuned to use anything from 512 to 8192.

Read "man mkreiserfs" and "man mke2fs" for details.


Cheers,
Tink


All times are GMT -5. The time now is 11:12 AM.