[OpenAFS-devel] Max /vicep partition size?
Robert Banz
banz@umbc.edu
Wed, 31 Jan 2007 14:21:20 -0500
On Jan 31, 2007, at 13:05, Derrick J Brashear wrote:
> On Wed, 31 Jan 2007, Alf Wachsmann wrote:
>
>> Hi,
>>
>> one of the OpenAFS developers told me a while back that the max size
>> for a /vicep partition in 2TB. This seems to be not correct.
>
> Ok, but:
>
>> We have a Solaris 10/x86 Sun "Thumper" unit with ZFS partitions:
>> /vicepa 750GB
>> /vicepb 1.5TB
>>
>> Once an OpenAFS-1.5.14 namei fileserver starts, we get:
>> % vos partinfo thumper01
>> Free space on partition /vicepa: 786431928 K blocks out of total
>> 786432000
>> Free space on partition /vicepb: -536870962 K blocks out of total
>> -536870912
>>
>> Is this on overflow only in the reporting or is this really not
>> working?
>
> That's a reporting error. One site who may not wish to speak up has
> a *volume* larger than that.
>
It'll work, but if you do a vos move of a volume to that partition,
it'll complain about it not fitting ;)
To get around this, I hacked vos on my site to treat any negative
partition size as "big enough". However, something should be looked
at in the vol RPCs and such to make sure the data types are sized to
handle modern file systems.
-rob