tune2fs -l stale info

Vincent Caron vcaron at bearstech.com
Thu Mar 29 20:12:13 UTC 2007

On jeu, 2007-03-29 at 14:59 -0400, Theodore Tso wrote:
> On Thu, Mar 29, 2007 at 02:17:56PM +0200, Vincent Caron wrote:
> > Hello,
> > 
> >   I just noticed that 'tune2fs -l' did not returned a "lively" updated
> > information regarding the free inodes count (looks like it's always
> > correct after unmounting). It became suprising after an online resizing
> > operation, where the total inode count was immediatly updated (grown in
> > my case) but the free inode count was the same: one could deduce that
> > suddenly a lot of inodes were used.
> Yes, this is expected.  Don't use tune2fs -l for this.  Use df -i
> instead.  It is accurate while the filesystem is moutned, and it's
> even portable, which is important if you ever need to use other legacy
> Unix systems, such as Solaris.  :-)

  Thanks for the tip, figures looks much better now...

More information about the Ext3-users mailing list