[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Solaris 9 disk partition reporting..

Posted on 2007-03-24
1
Medium Priority
?
456 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

649 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