Solved

Solaris 9 disk partition reporting..

Posted on 2007-03-24
1
443 Views
Last Modified: 2013-12-27
I have an install of solaris 9 on a sunfire v210 and when I list teh partitions using
df -kh it is showing one 10 gig partition to be at 97%.
when I manually go to the partition and us
du -skh
it shows only 5.9gig is being used..

Why am I getting differing disk usage reports and how do i correct this?
0
Comment
Question by:Troder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 21

Accepted Solution

by:
tfewster earned 500 total points
ID: 18787055
Probably someone/some job has tried to delete files that are still held open by an active process; The space shown by "df" will not be released until the process finishes (and the open file could keep growing).

"du" shows space used by files in the filesystem, but will _not_ show "deleted" files.

`fuser /yourfilesystem` should show active processes that may have a file open; `lsof` is another good bet.  The resolution is to stop the processes- e.g. by rebooting
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question