From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mark Schubert Newsgroups: gmane.os.tru64.managers Subject: Significant disk space usage discrepancy between df and du (addit ional info) Date: Thu, 07 Aug 2003 19:11:06 +1200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <249C830D7058174790C4CAB9F633B5C4320051@adlnt1.cogita.local> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1060240235 29659 80.91.224.253 (7 Aug 2003 07:10:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2003 07:10:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Aug 07 09:10:57 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19kevJ-0003Rw-00 for ; Thu, 07 Aug 2003 09:10:57 +0200 Original-Received: (qmail 29814 invoked by uid 5); 7 Aug 2003 07:10:46 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29805 invoked by uid 49493); 7 Aug 2003 07:10:46 -0000 Original-Received: from Mark.Schubert@cogita.com.au by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-0.5/5.0):. Processed in 0.473007 secs); 07 Aug 2003 07:10:46 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 7 Aug 2003 07:10:45 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HJ8003FMMLWMC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 07 Aug 2003 03:10:45 -0400 (EDT) Original-Received: from smtp.cogita.com (smtp.cogita.com [210.54.238.23]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HJ8006A5MLL76@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 07 Aug 2003 03:10:38 -0400 (EDT) Original-Received: from aklnt1.cogita.local (Not Verified[10.1.0.20]) by smtp.cogita.com with NetIQ MailMarshal (v5.5.3.16) id ; Thu, 07 Aug 2003 19:11:11 +1200 Original-Received: by aklnt1.cogita.local with Internet Mail Service (5.5.2653.19) id ; Thu, 07 Aug 2003 19:11:11 +1200 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:5055 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5055 Thanks to all those that replied. Had various replies ranging from: - use quotacheck to "fix" the discrepancy - open files are not cleaned up by verify - use the vdf or vdu command What I found: - quotacheck does not work on clusters. I get the error "quotas are not supported in a cluster environment" - The verify I ran was an offline verify so there were no open files and the verify did not resolve the problem. - The "vdf domain#fileset" command reports exactly the same usage information as df, which is wrong. - The "vdf domain" reports correct domain usage, but is not fileset specific. - There is no vdu command. So I still do not have a solution. Any other ideas? Thanks, Mark. > -----Original Message----- > From: Mark Schubert > Sent: Wednesday, 6 August 2003 5:20 PM > To: 'tru64-unix-managers@ornl.gov' > Subject: Significant disk space usage discrepancy between df and du > > We have a V5.1 cluster which is showing significant discrepancies in > available disk space in one domain. > > The following output from df -k shows /app as consuming 6.9GB. It also > shows the free space of the 2 filesets as being different, when usually > all filesets in a domain show the same free space. A du -k on /app shows > it is only consuming 3.4GB of disk space, a difference of 3.5GB from what > df -k is reporting. A du -k on /home shows 1.5GB consumed which is > correctly reported by df. > > Filesystem 1024-blocks Used Available Capacity Mounted on > dom0#fset0 8838720 1599308 3703728 31% /home > dom0#fset1 8838720 6909931 1928789 79% /app > > /etc/fstab contains the following for the file systems. > dom0#fset0 /home advfs rw 0 2 > dom0#fset1 /app advfs rw 0 2 > > We recently did a verify -d on this domain to cleanup any unlinked files, > but that made no difference. Verify actually reported there were no > unlinked files. > > I remember hearing something about quotas (or quotacheck) affecting the df > output, although we are not running quotas. > > Any ideas? > > Thanks, > > Mark > >