[OpenAFS] Failed to create inode: errno = 22

Jose Manuel dos Santos Calhariz jose.calhariz@netvisao.pt
Mon, 1 Apr 2013 23:18:14 +0100


--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 01, 2013 at 03:05:41PM -0700, Russ Allbery wrote:
> Jose Manuel dos Santos Calhariz <jose.calhariz@netvisao.pt> writes:
>=20
> > I am trying to fill a 1TB volume with lots of small files.  At 40%
> > filled I started to see on client " Cannot open: No space left on
> > device"
>=20
> The number of files in a particular directory is capped.  See the
> fileserver man page:
>=20
>        The maximum number of directory entries is 64,000 if all of the en=
tries
>        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 na=
mes
>        that are longer than 15 octets. Each additional block provides an
>        additional length of 32 octets for the name of the entry. Note tha=
t if
>        file names use an encoding like UTF-8, a single character may be
>        encoded into multiple octets.
>=20

That idea crossed my mind, but that is not the problem. =20

I don't have a big directory with all files.  I use a for cicle to
generate a new directory name, that is filled with the linux sources.=20

Something like:

00000001  00000038  00000075  00000112  00000149  00000186  00000223  00000=
260  00000297  00000334  00000371
00000002  00000039  00000076  00000113  00000150  00000187  00000224  00000=
261  00000298  00000335  00000372
00000003  00000040  00000077  00000114  00000151  00000188  00000225  00000=
262  00000299  00000336  00000373
00000004  00000041  00000078  00000115  00000152  00000189  00000226  00000=
263  00000300  00000337  00000374
00000005  00000042  00000079  00000116  00000153  00000190  00000227  00000=
264  00000301  00000338  00000375
=2E..


inside 00000001 is:

linux-3.8


One another behaviour, I can't do a "touch empty_file" anywhere inside the =
volume.


     Jose Calhariz


--=20
--
Toda a id=E9ia revolucion=E1ria provoca tr=EAs est=E1gios:
         1. '=E9 imposs=EDvel - n=E3o perca meu tempo.'
         2. '=E9 poss=EDvel mas n=E3o vale o esfor=E7o'
         3. 'eu sempre disse que era uma boa id=E9ia'

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRWgemAAoJEDSKd41ohe+PM2IP/3fRZOduiGPsq1nG0OfbHQxQ
1gvYC2mLz1NuJfYt5lJxnxh6vrWozgjOJHBm1xKXUeqVOLcGoBnOrr0ByXBiCFnQ
dw3LIZwtQ8o9ImvKZH7EyUdY/LqnQtZut+qfhHftwOUL4n35OcJEC3uIv7MittYh
5ZxssoZLxyZ2gXz/pxiATWQas2fw7qwuMjDXA0/Q4NNkHpEDqAfsFS6dQik23ssT
o4A43nV8pzT+e8COziMTBLhsvn6oQwFc/Qotz8feVYUsCPI9Gr9occWMEoCLYje1
VzVEUY8No4uiybCp1OG78Dl8CLXQtYkALangNgdSZhJl1kA3N4ZTe7Jr4BOP3g3r
K4i81McFFNftMM8sCUULf3O4nCygKNbO6xM87raGWzBEsPjQxiZaAvlayP2NB1db
fQgPjnUcyy+IYDcGw/uUz5wd6V3V29YDFBg/dKeYTxPiULg7/RmeVeDTH+CX5J1P
AZgGLgXgRNN4zOFD+drKeWgAKWwLW91vFrETWMrs5PHlnWK7xgClBGl8E7Rz+bU6
vtL1KypvkQJaApJX3+YKojPDD/ua2W7/7LyZ5426mQnRRJkmbZO7Gq4FTje/VIAz
6WryM/xibL6kZq7XsiYI6/wiLvMEidrpfDqKI4Y6JoYUfuhP31QP5hze9Y2LZ9ZX
PxtLSSOD8KwIEM3hbA/o
=dRKr
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--