From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Carl Christopher Bavington @ Langley" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: df -k not showing a correct size Date: Mon, 17 Mar 2003 17:50:41 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1047923449 1870 80.91.224.249 (17 Mar 2003 17:50:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2003 17:50:49 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Mar 17 18:50:48 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18uykb-0000SB-00 for ; Mon, 17 Mar 2003 18:50:17 +0100 Original-Received: (qmail 9220 invoked by uid 5); 17 Mar 2003 17:50:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9211 invoked by uid 49493); 17 Mar 2003 17:50:59 -0000 Original-Received: from Carl.Bavington@ntl.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-5.2/5.0):. Processed in 0.404337 secs); 17 Mar 2003 17:50:59 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Mar 2003 17:50:58 -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 <0HBW003A5MWQI3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Mar 2003 12:50:57 -0500 (EST) Original-Received: from mast-dc0-sm03.private.ntl.com (cabletel1.cableol.net [194.168.3.4]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HBW004CRMWKC3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 17 Mar 2003 12:50:46 -0500 (EST) Original-Received: from mast-dc0-se03.private.ntl.com (unverified) by mast-dc0-sm03.private.ntl.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 17 Mar 2003 17:50:44 +0000 Original-Received: by mast-dc0-se03.private.ntl.com with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Mar 2003 17:50:44 +0000 Content-return: allowed Original-To: "Tru64 Managers Mail Group \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3669 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3669 Managers, Many thanks to the 20+ of you who replied with pretty much the same explanations. Heres a good explaination from Martin Burton (Thanks alot Martin) The AdvFS daemon has a lock on the file, i.e it has it open. What this means is that the metadata for the file will not be released until that process relinquishes the lock, i.e when it is restarted/stopped/the machine rebooted. Although the file has been deleted in the eyes of ls, etc, the blocks will still be used on the filesystem until the final file lock is gone. Solution: stop advfsd advfsd is used solely by the GUI advfs administration tools and to collect some performance info (which it often gets wrong!, by stat()'ing filesystems which are not there, for instance). Advfsd was stopped and started with /sbin/init.d/advfsd stop and restarted with /sbin/init.d/advfsd start Thanks to you all, Carl > Managers, > > I have just deleted a large file: > ---------- 1 root system 1377631900 Mar 17 09:01 > /usr/var/opt/advfsd/logs/advfsd > > which was taking over my /usr advfs domain, but it has not been refelected > in a df, ive done a showfdmn usr_domain and it still reports the old disk > usage. > > Any suggestions why this may have been, or ideas on correcting it, other > than a reboot which is not a option? > > Cheers, > > Carl Bavington > Senior Technical Analyst (CAS) > Tel: 01753 45(2082) > Mobile: 07970 709525 > ntl > The contents of this email and any attachments are sent for the personal attention of the addressee(s) only and may be confidential. If you are not the intended addressee, any use, disclosure or copying of this email and any attachments is unauthorised - please notify the sender by return and delete the message. Any representations or commitments expressed in this email are subject to contract. ntl Group Limited