Re: ext2 max directories?

H. Peter Anvin (hpa@transmeta.com)
19 Nov 1999 01:13:02 GMT


Followup to: <81219j$ohc$1@subspace.cistron-internet.nl>
By author: miquels@cistron.nl (Miquel van Smoorenburg)
In newsgroup: linux.dev.kernel
>
> In article <cistron.38348670.3DC0952A@audiohighway.com>,
> Shane Clements <shane@audiohighway.com> wrote:
> > I have run out of directories on a server. there are 31998
> >directories. Is there another filesystem I could use? Thanks!
>
> You've probably simply run out of inodes. Do a "df -i". If so,
> read the manpage for mke2fs, pay attention to the "-i" option, and
> create a filesystem with a smaller bytes-per-inode ratio.
>

No, actually, it's probably the ext2fs link limit (the number of
subdirectories of a single directory.) If you make your directory
structure more hierarchial, that'd solve that problem.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/