Re: df output
Adam Hardy on 17/05/09 22:44, wrote:
Javier Barroso on 17/05/09 20:48, wrote:
>>>> 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
>>>> 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  for the meaning of this
Reserved block count: 9157150
Block size: 4096
x * y = 37.508x10^9
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb1 721075720 694171948 0 100% /data2
1024 * (721,075,720 - 694,171,948) = 27.549x10^9
Looks to me as if there's something else going on as well as that then.
No, sorry, I mixed it up. There should be more reserved than that difference, so
that looks like a very good reason why there's none available.