Hi,
Trying to write a script, using the commands showfdmn and showfsets, to give
accurate readout of filesystem usage on advfs domains, as df does not.
I've noticed that the figures for used blocks given in showfsets does not
tally up with the figures for total number of blocks minus number of free
blocks given in showfdmn, e.g.
  Id              Date Created  LogPgs  Domain Name
3517e1ca.000c7444  Tue Mar 24 16:39:38 1998     512  files_dmn
  Vol    1K-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
   1L   44412090     9735184     78%     on    256    256  /dev/rz9c
   2    44412090    12350856     72%     on    256    256  /dev/rzc9c
   3    44412090    12833160     71%     on    256    256  /dev/rzb34c
   4    44412090    15294064     66%     on    256    256  /dev/rzc59c
      ----------  ----------  ------
       177648360    50213264     72%
files_fset
        Id           : 3517e1ca.000c7444.1.8001
        Files        :   666233,  SLim=        0,  HLim=        0
        Blocks  (1k) : 110560678,  SLim=        0,  HLim=        0
        Quota Status : user=off group=off        
  
So I work out that 177648360  -  50213264 =  127435096. This does not equal
110560678 given in the showfsets command.  
The filesystem contains a large number of small files, over a million.
The figures tie up for the root_domain and some other filesystems.
We are running Tru64 4.0f with Patch Kit 3.
Any ideas?
Mark
Received on Wed Oct 25 2000 - 11:14:51 NZDT