[Lustre-discuss] Inode count differences between client and MDS
Jakob Goldbach
jakob at goldbach.dk
Fri Apr 11 00:48:18 PDT 2008
On Thu, 2008-04-10 at 20:00 +0200, Johann Lombardi wrote:
> The inode count you get on the client side also takes into account the
> number of inodes available on the OSTs and the default stripe count.
>
The stripecount is 1. (from /proc/../lov/../stripecount) - The OSTs have
plenty ~400M inodes. The MDT has about ~200M (from tune2fs -l /dev/mdt).
Still, only 75M show up on the client.
And even stranger - when creating new files - both used count AND
avail-count increases. (see below)
/Jakob
client# lfs df -i
UUID Inodes IUsed IFree IUse% Mounted on
foo-MDT0000_UUID 75382000 19935 75362065 0% /mnt/foo[MDT:0]
foo-OST0000_UUID 456794112 9603 456784509 0% /mnt/foo[OST:0]
foo-OST0001_UUID 456794112 9734 456784378 0% /mnt/foo[OST:1]
client# touch a b c
client# lfs df -i
UUID Inodes IUsed IFree IUse% Mounted on
foo-MDT0000_UUID 75382003 19938 75362065 0% /mnt/foo[MDT:0]
foo-OST0000_UUID 456794112 9603 456784509 0% /mnt/foo[OST:0]
foo-OST0001_UUID 456794112 9734 456784378 0% /mnt/foo[OST:1]
More information about the lustre-discuss
mailing list