> I'm having a problem with a volume that seems to occupy more disk
>space than it should. This is happening: I have just a volume in a
>partition (830 Megs), this volume has 290021 K on-line, if I check the
>partition it seems like the volume is occuping like 500 Megs.
>
> This is the output of a vos partinfo and a vos listvol in that part:
>
>[ireland.kgn]:v2sanchz> vos partinfo ppsfs4 c
>Free space on partition /vicepc: 303196 K blocks out of total 827392
>[ireland.kgn]:v2sanchz> vos listvol ppsfs4 c
>Total number of volumes on server ppsfs4 partition /vicepc: 1
>hw.lib.Cadence1 536883121 RW 290021 K On-line
>
>Total volumes onLine 1 ; Total volumes offLine 0 ; Total busy 0
>
>
Whats the block size on the partition you are using? If its greater than 1K,
then this may be a contributing factor. In taking a uniform view that block
size shouldn't affect your volume current usage statistic, afs has
standardized that 1K is the size that is rounded against. This is smart for
example if you move a user volume from server A to server B where they are
different archetectures with different underlying block sizes. Here is an
example which should clarify what I am saying.
Suppose you have an AIX file server with a block size of 4K. You create 1000
1-byte files. AFS will count 1K towards your usage or 1000K (not because it
doesn't know about the partitions block size, but because of the
standardization I mentioned). In reality, you have used 4K for each file or
4000K. This is probably an extreme example of your user's usage patterns.
If this is what is causing your descrepency, you can tune your filesystem to
use 1K partitions (time vs space tradeoff).
Mark Giuffrida
University of Michigan
[EMAIL PROTECTED]