[Linux-cluster] gfs_tool df question
Bowie Bailey
Bowie_Bailey at BUC.com
Fri Jan 20 20:18:54 UTC 2006
David Teigland wrote:
> On Fri, Jan 20, 2006 at 01:38:39PM -0500, Bowie Bailey wrote:
>>>> Type Total Used Free use%
>>>>
>>>> ----------------------------------------------------
>>>> inodes 2697580 2697580 0 100%
>>>> metadata 104195 21410 82785 21%
>>>> data 290040505 23167 290017338 0%
>
>> Now 180M is nowhere near 11G! Am I reading something wrong? Why
>> am I getting different numbers?
>
> Add the space used by the inode blocks. File/directory data is
> stuffed into the inode block if it's under around 3500 bytes.
Ah...THAT's the piece of information I was missing! Now that you
mention it, I remember reading about that somewhere. I guess it just
didn't click.
Based on what I've gathered so far, that chart is showing inodes,
metadata, and data as a number of blocks, right? So to get disk usage,
I add up the used inode, metadata, and data blocks and multiply by block
size (4K)?
That seems to show me a 1.1TB total with 10.5GB used, which sounds about
right.
--
Bowie
More information about the Linux-cluster
mailing list