Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Discrepancy in usage statistics for AdvFS filesystem
@ 2000-11-02 11:13 Jonathan Wheeler
  2000-11-05  5:49 ` John Smith
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Wheeler @ 2000-11-02 11:13 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Discrepancy in usage statistics for AdvFS filesystem
  2000-11-02 11:13 Discrepancy in usage statistics for AdvFS filesystem Jonathan Wheeler
@ 2000-11-05  5:49 ` John Smith
  0 siblings, 0 replies; 2+ messages in thread
From: John Smith @ 2000-11-05  5:49 UTC (permalink / raw)


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" <jfw1@osfserv.rl.ac.uk> 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-05  5:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-02 11:13 Discrepancy in usage statistics for AdvFS filesystem Jonathan Wheeler
2000-11-05  5:49 ` John Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox