I just ran df -h on a Solaris 9 machine and got a a very weird output, something I have never seen before.
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
Output from df:
/proc (/proc ): 0 blocks 29886 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/dev/fd (fd ): 0 blocks 0 files
Included output from truss:
statvfs64("/proc", 0xFFBFFAC8) = 0
/proc 0K 0K 0K 0% /proc
write(1, " / p r o c ".., 58) = 58
statvfs64("/etc/mnttab", 0xFFBFFAC8) = 0
mnttab 0K 0K 0K 0% /etc/mnttab
write(1, " m n t t a b ".., 64) = 64
statvfs64("/dev/fd", 0xFFBFFAC8) = 0
fd 0K 0K 0K 0% /dev/fd
write(1, " f d ".., 60) = 60
Does anyone know what might have caused this? And what why it's displaying this?
Thanks in advance,
Anders
dfwork (not sure why you made a point of including-h)? My first guess is that there's some permissions problem preventing you from querying the disks for free space. – medina Aug 1 '10 at 12:39df, and no, using the root account. – Anders Aug 1 '10 at 12:43