[Gllug] Inodes remaining

Richard Jones rich at annexia.org
Tue Sep 30 17:46:09 UTC 2008


On Tue, Sep 30, 2008 at 05:06:31PM +0100, Jon Dye wrote:
> 2008/9/30 John Edwards <john at cornerstonelinux.co.uk>
> 
> > On Tue, Sep 30, 2008 at 04:51:22PM +0100, Jon Dye wrote:
> > > My googleFu appears to have failed me today.  I want to find out how many
> > > unused inodes there are on a *mounted* ext3 filesystem, can some one give
> > me
> > > a clue?
> >
> > 'df -i' will show the inodes usage on all mounted filesystems
> >
> 
> Marvellous, only 3% used, I'll stop worrying about maildir now.
> 
> I hadn't thought that it might be available with a general filesystem tool
> rather than a filesystem type specific tool (e.g. dump2fs).

virt-df will do it even if the filesystem isn't mounted (or, in fact,
for any general disk image).

Rich.

-- 
Richard Jones
Red Hat
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list