[Lustre-discuss] Understanding lfs output

Brian J. Murrell Brian.Murrell at Sun.COM
Tue Aug 19 13:30:14 PDT 2008


On Sun, 2008-08-17 at 15:50 -0700, Mag Gam wrote:
> My departments Lustre's lfs df -i looks like this
> 
> UUID                    Inodes     IUsed     IFree IUse% Mounted on
> xfs001-MDT0000_UUID   82565322  19073586  63491736   23%
> /xfs/engine1/xfs001[MDT:0]
> xfs001-OST0000_UUID   41943040   5076445  36866595   12%
> /xfs/engine1/xfs001[OST:0]
> xfs001-OST0001_UUID   41943040   3735715  38207325    8%
> /xfs/engine1/xfs001[OST:1]
> xfs001-OST0002_UUID   41943040   4784447  37158593   11%
> /xfs/engine1/xfs001[OST:2]
> xfs001-OST0003_UUID   41943040   4556627  37386413   10%
> /xfs/engine1/xfs001[OST:3]
> 
> filesystem summary:   82565322  19073586  63491736   23% /xfs/engine1/xfs001
> 
> 
> Is it safe to say, "
> My MDT has "19073586" 19 million inodes free? or should I consider.
> 
> However, when I check my inode count on my mds using tune2fs it reports this.
> Inode count:              524288000
> Free inodes:              505214414
> 
> Am I missing something?

Yes.  lfs df does not simply report the free inodes on the MDT.  It's
more complicated than that.  This has been discussed either here or in a
bugzilla bug (don't recall which).  I don't recall the bug or when the
lustre-discussion was, offhand, but a search should not be terribly
difficult to find the answer.

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20080819/ddcc00d7/attachment.pgp>


More information about the lustre-discuss mailing list