[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: df output



On Sun, May 17, 2009 at 8:56 PM, Adam Hardy <adam.ant@cyberspaceroad.com> wrote:
> Javier Barroso on 17/05/09 19:24, wrote:
>>
>> On Sun, May 17, 2009 at 5:39 PM, Adam Hardy <adam.ant@cyberspaceroad.com>
>> wrote:
>>>
>>> it looks like I've messed up one of my hard drives after filling the
>>> drive
>>> up to full - deleting files is not freeing up space, at least not
>>> according
>>> to 'df'.
>>>
>>> I get this output:
>>>
>>> Filesystem            Size  Used Avail Use% Mounted on
>>> /dev/hda1             9.2G  2.8G  6.0G  33% /
>>> tmpfs                 126M     0  126M   0% /lib/init/rw
>>> udev                   10M   64K   10M   1% /dev
>>> tmpfs                 126M     0  126M   0% /dev/shm
>>> /dev/hda6              26G  173M   25G   1% /data1
>>> /dev/hdb1             688G  663G     0 100% /data2

>>>
>>> hdb1 is causing concern. I unmounted and remounted it without noticeable
>>> effect - anyone know what I've done wrong and how I can sort it out?

Ok, now I'm thinking about reserved block from filesystem is causing
this issue to you.

To verify this:

# tune2fs -l /dev/hdb1
...
Reserved block count: xxxx
Block size: yyyy

is xxxx * yyyy == 1024*1024*1024 *(688 - 663) ??

See -m flag in mkfs.ext3 [1] for the meaning of this

Regards,
[1] http://manpages.debian.net/cgi-bin/man.cgi?query=mkfs.ext3&apropos=0&sektion=0&manpath=Debian+Sid&format=html&locale=en


Reply to: