On Thu, Apr 06, 2000 at 08:58:47PM -0400, Paul Barton-Davis wrote:
> I asked a few weeks back about problems with df and 4K blocksize ext2
> filesystems, and df. Here's my evidence:
>
> [root@dhin /audio]# fdisk /dev/sda
...
> /dev/sda3 127 553 3429877+ 83 Linux
>
> Take partition #3, 3429877 512 byte blocks. Thats about 1674MB.
No, fdisk gives you 1024-byte blocks. This is 3.5 GB.
> Now what does df say:
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda3 843982 135198 708784 16% /audio
> i.e. 824MB, or basically 50% of the size.
i.e. 864 MB, or basically 25% of the size.
> So, whats gone wrong here ? Is it just me ?
I think so, yes. Here nothing is wrong.
But note: fdisk tells you the size of the partition,
while df tells you the size of the filesystem.
Probably you made a small filesystem on a big partition.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:18 EST