[OpenAFS] Re: rsync into afs directory: File too large (27)

Andrew Deason adeason@sinenomine.net
Fri, 10 Jun 2011 17:13:10 -0500

On Fri, 10 Jun 2011 17:41:49 -0400
Dan Scott <danieljamesscott@gmail.com> wrote:

> rsync: mkstemp "/afs/example.com/volumename/filename.dat" failed: File
> too large (27)
> The files are not large at all (10s of MB) and there are around 30,000
> in the directory. There is plenty of quota available on the volume and
> the partition containing the volume is 75% full.

The error code sorta refers to the directory being too large. From

>> The maximum number of directory entries is 64,000 if all of the
>> entries have names that are 15 octets or less in length. A name that
>> is 15 octets long requires the use of only one block in the
>> directory. Additional sequential blocks are required to store entries
>> with names that are longer than 15 octets. Each additional block
>> provides an additional length of 32 octets for the name of the entry.
>> Note that if file names use an encoding like UTF-8, a single
>> character may be encoded into multiple octets.

Andrew Deason