From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: (SUMMARY - appended) df and showfdmn discrepancy Date: Mon, 12 Jul 2004 10:28:09 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <40F267B9.25431.12F007B2@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1089624622 23114 80.91.224.253 (12 Jul 2004 09:30:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jul 2004 09:30:22 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jul 12 11:30:11 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Bjx8V-0001Qw-00 for ; Mon, 12 Jul 2004 11:30:11 +0200 Original-Received: (qmail 17152 invoked by uid 5); 12 Jul 2004 09:29:43 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17137 invoked by uid 49501); 12 Jul 2004 09:29:42 -0000 Original-Received: from dermot@sciencephoto.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 2.219925 secs); 12 Jul 2004 09:29:42 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 12 Jul 2004 09:29:40 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I0Q00E7ZFPE20@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Jul 2004 05:29:39 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I0Q00F02FP6NQ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Jul 2004 05:29:31 -0400 (EDT) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I0Q00DIRFOS58@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Jul 2004 05:29:30 -0400 (EDT) Original-Received: from [194.200.237.140] (helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 1Bjx7b-0000Bg-00 for tru64-unix-managers@ornl.gov; Mon, 12 Jul 2004 10:29:15 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.12a) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:7257 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7257 Hi Mangers, I thought I should share this with the list as it might be useful. I had a mail from Bob Vickers how had experienced a similar problem as myself in the past. As I said in my summary (but not in the original message) I had done a vrestore from a different fileset (/usr 9GB partition with soft-limits set to 9GB) on to a temp dir in the problem fileset a little while before I noticed the problem. The df output corresponded to the limits on /usr and we both think that there is metadata being restored from the backup which overwrites the quotas set on the fileset that I restored to. I guess you should either do vrestore to the original fileset (in a temp dir) or make sure you run a chfsets on the fileset you restore to after you complete the restore. What I don't know is if the new quota comes into effect immediately or if it shows up after a re- boot. Good luck. Dp. ------- Forwarded message follows ------- Thanx to Lawrie Smith for his help. The cigar goes to Tom Swigg for the resolution. I don't know how but the soft limit on the domain was set to 18418400 (I wonder if this was due to a vrestore of a file I did a week back from a different fileset). You can get this info from `showfsets domain`. You change the soft (or hard) limit with chfsets, in my case I zeroed the limits as I don't want to enforce any so `chfsets -B 0 -b 0 usr_0. Again a big thanx to Tom for his help. Dp. ------- Original message follows ------- Hi managers, SYS: DS10 wth external SCSI pedastal and 6 x 36GB disks. Tru64 5.1. advfs fileystsem throughtout. I did a df today and noticed that one domain was at 100% capacity. I was a bit shocked because this domain was just over half full (about 14GB free) at the end of last week. I did a find with mtime -7 and there are only a dozen files added in the last seven days. So I did a showfdmn on the domain and it shows: Id Date Created LogPgs Version Domain Name 3b04fd12.000b9595 Fri May 18 11:44:34 2001 512 4 usr_0 Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 71132000 34372560 52% on 256 256 /devices/disk/dsk1c I figure that the showdfm is correct but I am baffled by the sudden discrepancy. I can't see anything that exactly replicates my problem in the archives but I saw something about quotacheck -v. I did this and got: root fixed: blocks 121 -> 41 system fixed: blocks 5671969 -> 5671889 Still df (and vdf) is reporting the wrong usage: Filesystem 1024-blocks Used Available Capacity Mounted on spl_0#usr0 9209200 9209200 0 100% /usr0 Id Date Created LogPgs Version Domain Name 3b04fd12.000b9595 Fri May 18 11:44:34 2001 512 4 usr_0 Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name 1L 71132000 34365504 52% on 256 256 /devices/disk/dsk1c I wonder if df is looking at a completely different disk as I have a internal 9GB disk? I also ran verify with the -a and then with -f but still no change. Has anyone seen this before? I am almost certain that I have about 14Gb left as files are being added and there is no trouble there. Thanx. Dp. ------- End of forwarded message ------- ------- End of forwarded message ------- ~~ Dermot Paikkos * dermot@sciencephoto.com Network Administrator @ Science Photo Library Phone: 0207 432 1100 * Fax: 0207 286 8668