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

Jeffrey Altman jaltman@secure-endpoints.com
Fri, 10 Jun 2011 15:15:07 -0700


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF74A8B890035F7029E83D451
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 6/10/2011 3:00 PM, Thomas Kula wrote:
> On Fri, Jun 10, 2011 at 05:41:49PM -0400, Dan Scott wrote:
>> Hi,
>>
>> I'm synchronising (with a cronjob) some files from a directory on a
>> standalone server into an AFS directory on another and I receive
>> (several of) the following errors:
>>
>> 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.                                              ^^^^^^^=
^
>=20
> If I had to bet, you're running into the "directory files have a finite=

> size" limit. In AFS with short filenames I think you can get ~60K files=

> in a directory, but longer filenames take up more space and that number=

> goes down as names grow in length.

And as fragmentation within the directory increases.

Tom Keiser is working on directory defragmentation as a side project.

Jeffrey Altman



--------------enigF74A8B890035F7029E83D451
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJN8pdtAAoJENxm1CNJffh4Zt8IANuP/BFtYRwNepbuYDSTuEtJ
y+maJNE+tq+anBY8wTwhz1DkrC9I7yGq6Iku2N+BynxX9EZTIoi3W17EfKLu6TZD
MrU6fycQfHI72P95r/T3zemEuyF4cc39Zj/q6ob/xrAfyenII/YN3WJQqTt10aLC
ey3DCZKgLtX0QCuNvb9g6BRz4lUd7TpUjxPP8+mGo2iPCpwZjkRPmUaqeFPWggI7
FMsW7s4PrnGgY1+dwxjYnUzQDGH0vcOC38p4Nv5KWMEr0Xj+NTYdC6j//+HvAiql
EVtCfuTRelJvlAnurI8vf31xntLUtuRh5e9DEjemMqumypBQwQ7ScV/zEd0yKCE=
=+3u7
-----END PGP SIGNATURE-----

--------------enigF74A8B890035F7029E83D451--