tune2fs -l stale info

Andreas Dilger adilger at clusterfs.com
Wed Apr 4 05:56:19 UTC 2007


On Apr 03, 2007  15:55 +0200, Vincent Caron wrote:
>   BTW, if ondisk superblocks are not updated until specific events occur
> (umount, statfs), what is the consequence of a system crash ? Does
> journalization come into play (superblock=metadata?), does fsck fixes
> figures from other ondisk structures ? Just being curious...

The free blocks/inodes count in the superblock aren't really used for
anything these days.  At mount time the kernel sums up the free inode
and block counts from the group descriptors to put into the percpu
counters, and only the group descriptors are kept uptodate.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.




More information about the Ext3-users mailing list