[OpenAFS] Current Limits of OpenAfs ?

Esther Filderman mizmoose@gmail.com
Fri, 9 Jan 2009 14:19:53 -0500


On Fri, Jan 9, 2009 at 11:31 AM, gary mazzaferro <garym@oedata.com> wrote:
> Hi,
>
> Is there a place I can find the current file, directory, volume and
> partition limits for OpenAfs ? I'm not sure which values are current.
>
> This is what I found searching:
>
> Max Number of Volumes Per Server: ?
> Max partition size in 1.4.x is 2TB
> Max partition size in 1.5.x is max signed int64
>
> Max Number of files in a volume: ?
> Max Number of files in a directories (Something to do with 64K slots and 16
> chars per slot)

Right. You get ~64K files in a directory, less if you use big filenames etc.

Number of files in a volume: Well, if you figure you can only have
64Kfiles in a directory, and probably less than 64K directories...

Oi, math is hard.

> Max File Name Size: 255 chars  -- Does it include the entire name space ?
> Max ACLs Per Directory: ?

20.  I didn't even know this until recently!  How whacky.

However, if you're giving so many people access, you probably want to
use PTS groups anyway.

> No ACLs per file: 0

Not applicable, at this time.  You give ACLs per directory, not files.

Work on file-level ACLs is in progress, but not in production.


> I haven't found anything on the client side... Is there a limit on the size
> of the volume a client can attach?

Er.  This *is* about the client side.    Servers just (mostly) serve
content. It's not like NFS where you can log into your server and see
your files there.

In AFS, a mounted volume is available on all clients.  (What kind of
access is given is per user, based on ACLs.)  Clients do not attach
volumes, administrators mount them in the directory structure,
generally only one time.

The limit of the size of the volume is, simply, the limit the size of
the volume.