OS and df -k report file system full, du -sk says otherwise
2007-12-24 21:56:00
I'm having a problem with a filesystem being reported as 100% full by df -k
but when I do a du -sk in the directory I only see a couple hundred MB of
actual usage. (the file system is 1GB)
Here's the background: the system is an Ultra 60 running Solaris 2.6 with the
recommended patch Cluster from Oct 2001, kernel patch 105181-29. The
/export/home file system is 1GB ufs and there is no Volume Manager or Disk
Suite on this system. Under normal conditions this file system stays around
27% full. Sometimes a user has a log file that grows to around 700MB and uses
the remaining space on the file system. When they realize that the file system
is full the users remove the large log file which should put the file system
back to around 250MB. The problem is, the OS still reports the file system as
full. df -k shows 100% usage but when I go to /export/home and run du -sk to
see which directory is large, I only see around 250 MB in the filesystem. I
have to get the users to log out, and then unmount and remount the file
system. Once this happened when a user copied the application directories into
his home area so I know it's not just because one single file is large.
I browsed the archives and Sunsolve but didn't see anything that related to
this problem. Does anyone have any ideas? Is there a patch out there that I
need?
Thanks
Brian
Comments
Got something to say?
You must be logged in to post a comment.

