see current superblock information

Loic Le Loarer lll+ext3 at m4x.org
Fri Oct 24 15:59:22 UTC 2008


Hi all,

I would like to have the current number of used/free inode count on a
mounted ext3 fs. It is very useful to debug a situation where you cannot
create new files while the fs isn't full according to "df" (i.e. when
free inode count is zero).

My first idea was to use "tune2fs -l /dev/device", it gives all the
information I need, but it reflects only the on-disk superblock, which
seems to never be written while the fs is mounted.

So I'm look for a way to either force the flush of the superblock or to
just have the current used/free inode count.

I hope I have contacted the correct mailing list.

Thank you in advance for your answers.
Best regards.
-- 
Loïc

"heaven is not a place, it's a feeling"




More information about the Ext3-users mailing list