Solved

Solaris 9 disk partition reporting..

Posted on 2007-03-24
1
423 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
1 Comment
 
LVL 20

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now