Today I switched our F330 from NFS v3 to v2, since it's being used as a News spool and can't really do anything useful with the extra NFS v3 info.
I got a nasty surprise when I found out that the Solaris 2.5.1 statvfs system call no longer returned number of inodes. In fact the fields
u_long f_files; /* total # of file nodes (inodes) */ u_long f_ffree; /* total # of free file nodes */ u_long f_favail; /* # of free nodes avail to non-superuser */
are all set to 4294967295 (ie. -1) on return from statvfs. When I was using NFS v3, these fields had sensible values on return from the call.
I can of course telnet to the NetApp and check the number of inodes directly, but I'd like to do it from the Solaris box which feeds the NetApp with news articles. Any good suggestions?
Steinar Haug, Nethelp consulting, sthaug@nethelp.no