Hello managers!
We have a DEC Alpha 3000/900 running OSF/3.0, the machine have an
advfs filedomain containing a 10 GB fileset consisting of 5 x 2 GB
disks.
On this fileset the df command does not report the correct
Used-size. Somebody having the same problem?
bash# ls -lgi /sbin/df /usr/ucb/df /bin/df /usr/bin/df /local/gnu/bin/df
  477 -rwxr-xr-x   1 bin      bin        24576 Aug  9 02:17 /bin/df
  212 -rws--x--x   1 root     bin       106496 Aug  9 02:18 /sbin/df
  477 -rwxr-xr-x   1 bin      bin        24576 Aug  9 02:17 /usr/bin/df
  477 -rwxr-xr-x   1 bin      bin        24576 Aug  9 02:17 /usr/ucb/df
85722 -rwxr-xr-x   1 root     other      24576 Jan  4 10:58 /local/gnu/bin/df
so I have 3 different df's, 2 Digital versions and one GNU version:
bash# /bin/df /work
Filesystem     512-blocks        Used       Avail Capacity  Mounted on
work_dmn#work    20892400    21118322           0   101%    /work
bash# /sbin/df /work 
Filesystem     512-blocks        Used       Avail Capacity  Mounted on
work_dmn#work    20892400    21118322           0   101%    /work
bash# /local/gnu/bin/df
Filesystem         1024-blocks  Used Available Capacity Mounted on
work_dmn#work        10446200 10559161  -112961    101%   /work
obviously not managing this task quite well.
I can however use showfdmn to see the exact (I hope) ammount of used
space, but I would like that advanced filesystem had normal Unix
commands for reporting system information to the users.
bash# showfdmn work_dmn
               Id              Date Created  LogPgs  Domain Name
2ea79972.00090a30  Fri Oct 21 11:35:30 1994     512  work_dmn
  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
   1L    4178480     1292928     69%     on    128    128  /dev/rz16c
   2     4178480     3988848      5%     on    128    128  /dev/rz17c
   3     4178480     3095776     26%     on    128    128  /dev/rz24c
   4     4178480     4086016      2%     on    128    128  /dev/rz25c
   5     4178480     4056560      3%     on    128    128  /dev/rz8c
      ----------  ----------  ------
        20892400    16520128     21%
Appr. 2186136 512K blocks is used. I am not surpriced when older
systems do not understand these large filesystems, but I am a bit
dissapointed about the Alpa's not managinig it.
I am wondering if df is just looking at the size of the first disk in
the file set and decides that 20892400 - 16520128 = 4372272
512K blocks, is greater than 4178480 512K blocks? Am I right here?
If not so, the limit seems to be between 4 GB and 10 GB, we have a 4
GB fileset and df report this filesystem correctly. (This fileset
consists of just one partition).
Somone reported this to Digital yet? Am I missing something?
--
 Morten Hanshaugen            USIT, Center for                   Palantir -
 meh_at_usit.uio.no           Information Technology    Distributed monitoring
 USIT, UiO                  Services, University        and error detection
 N-1059, Blindern, Olso       of Oslo, Norway          palantir_at_usit.uio.no
Received on Wed Jan 18 1995 - 12:18:02 NZDT