[OpenAFS] number of files

Russ Allbery rra@stanford.edu
Mon, 05 Nov 2007 20:17:55 -0800


Ron Croonenberg <ronc@depauw.edu> writes:

> I have a cluster that mounts OpenAFS volumes. That all seems to work.
> Things is that I have an MPI app that creates quite a few (a lot
> actually) files. After I was done and wanted to delete those files I
> got: -bash: /bin/rm: Argument list too long

Yeah, you often have to resort to xargs at that point.

> Nothing wrong AFS wise, but made me wonder. How many files does a
> directory on an OpenAFS volume "hold" ?

50,000 as long as the file names are short.  Longer file names consume two
or more directory blocks, hence reducing the total number.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>