Inode utilization

Hi,

I have veritas installed on my sun box. I can find out the inode utilization of a ufs file-system using /usr/bin/df -F ufs -o i <File-system>. But is there a command to find out the inode utilization of a vxfs file-system ?

I referred the df_vxfs(1M) manual page but couldn't extract what I exactly require.

Thnx,

Jaff

[367 byte] By [jaff] at [2007-11-25 23:38:48]
# 1

What do you mean by "utilization"? I UFS filesystem has a fixed number of inodes (well mostly fixed), but VxFS does not. As long as it has space, it can always create more (modulo an issue with largefiles not being enabled).

If you just want the number of files, maybe looking at the output of fsadm -E on the filesystem (similar to df -o s, but includes a litte bit more info). But I don't think it's 100% accurate. Empty files may not appear in the 'Total Files' output because they have no extents.

You could also try 'df -g /<filesystem>' and subtract the 'free files' from 'total files'. I think that's closer.

--

Darren

Darren_Dunham at 2007-7-5 18:22:35 > top of Java-index,General,Talk to the Sysop...