[OpenAFS] AFS file-number, volume-size limits?

Derrick J Brashear shadow@dementia.org
Mon, 10 Nov 2003 00:48:15 -0500 (EST)


On Sun, 9 Nov 2003, Eben Calhoun wrote:

> Hello,
>
> I am using AFS extensively in a laboratory environment.  One part of our
> data analysis requires many files to be in one directory.  ( > 32000 files )
>
> Does anyone know whether there is some fixed-limit as to how many files
> one can have in a single directory?

Yes. Search the list archive. Simple answer is "up to 65000 but less
depending on the length of the filenames".

> Yes, I know I should have less files in one directory, but 3rd-party
> software mandates that mess.

LD_PRELOAD a wrapper in which fixes the problem.

> Also, what is the actual size limit of an OpenAFS volume?  I've read in
> many places that it is around 8GB.  One of my volumes has over 13GB's in
> it.  Is this a problem?

No. Volumes are known to be as large as 45GB and no one has yet tested to
failure.