From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d5ac0597868127e1 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-11-04 21:49:28 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.md.home.com.POSTED!not-for-mail From: "John Smith" Newsgroups: comp.unix.tru64 References: <8tri98$sgu@newton.cc.rl.ac.uk> Subject: Re: Discrepancy in usage statistics for AdvFS filesystem X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 05 Nov 2000 05:49:22 GMT NNTP-Posting-Host: 24.3.16.24 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.md.home.com 973403362 24.3.16.24 (Sat, 04 Nov 2000 21:49:22 PST) NNTP-Posting-Date: Sat, 04 Nov 2000 21:49:22 PST Organization: @Home Network Xref: supernews.google.com comp.unix.tru64:717 This is a bug. Try unmounting the file system and then run "verify -f" on the domain. You also may then need to reboot to reclaim the space. Adding user and group quotas to /etc/fstab and then running quotacheck is supposed to help too. "Jonathan Wheeler" wrote in message news:8tri98$sgu@newton.cc.rl.ac.uk... > > On a system running Digital UNIX V4.0D, there are a number of AdvFS > filesystems. For one of them, there is a large discrepancy in the usage > statistics given by the command df -k and showfdmn -k. I enclose the > output of these commands (together with showfsets -k): > > df -k /stage/babar-data1 gives: > > Filesystem 1024-blocks Used Available Capacity Mounted on > babar#data1 71094080 49403568 21690512 70% /stage/babar-data1 > > showfdmn -k babar gives: > > Id Date Created LogPgs Domain Name > 3975c9b3.0006e266 Wed Jul 19 16:30:59 2000 512 babar > > Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name > 1L 8886762 2666376 70% on 256 256 /dev/rz29c > 2 8886762 4976528 44% on 256 256 /dev/rz30c > 3 8886762 5538496 38% on 256 256 /dev/rz32c > 4 8886762 1978008 78% on 256 256 /dev/rz33c > 5 8886762 4982136 44% on 256 256 /dev/rz34c > 6 8886762 6074976 32% on 256 256 /dev/rz36c > 7 8886762 7501008 16% on 256 256 /dev/rz37c > 8 8886762 6138632 31% on 256 256 /dev/rz38c > ---------- ---------- ------ > 71094096 39856160 44% > > showfsets -k babar gives: > > data1 > Id : 3975c9b3.0006e266.1.8001 > Files : 8093, SLim= 0, HLim= 0 > Blocks (1k) : 49403568, SLim= 0, HLim= 0 > Quota Status : user=off group=off > > Can anyone explain the discrepancy between the "Available" and "Capacity" > figures for df -k, and the (total) "Free" and "% Used" figures for > showfdmn -k. I have tried running defragment for the filesystem in case > this would help, but with no change in the statistics. > > -- > Jonathan Wheeler > Scientific Computing Services Group > Information Technology Department > Rutherford Appleton Laboratory > Central Laboratory for the Research Councils