Solved

Solaris 9 disk partition reporting..

Posted on 2007-03-24
1
429 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem Imaging Computers With Clonezilla 2 90
can't umount nfs share after server goes offline... 4 84
Unix Question 19 50
add some character at the end of line in vi 7 81
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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 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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

823 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