Date: Sat, 14 Jan 2012 10:12:48 +0100 From: Bernt Hansson <bah@bananmonarki.se> To: Polytropon <freebsd@edvax.de> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: disk problem(s) Message-ID: <4F114710.8030509@bananmonarki.se> In-Reply-To: <20120114092236.0c139ccd.freebsd@edvax.de> References: <4F113290.1060706@bananmonarki.se> <20120114092236.0c139ccd.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
2012-01-14 09:22, Polytropon skrev: > How many subdirectories are there? ls | wc -l 32765 > > Could you, for example, try removing one and then > creating a new one (assumption: success), followed > by another try to create one (assumption: fail)? That is a nono I'll have to pop in another disk. > > > Detail: > > The mkdir() function can be found (for UFS2) in the > file /usr/src/sys/gnu/fs/ext2fs/ext2_vnops.c at > line 1111 (sources of 8.2-STABLE i386 here). If > you examine what mkdir() does, you'll see that > the "too many links" is true when LINK_MAX is > exceeded. Per /usr/src/sys/gnu/fs/ext2fs/ext2_fs.h > we can determine that > > #define EXT2_LINK_MAX 32000 > > is defined. Can you check if 32000 is the amount > of directories created?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F114710.8030509>