[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: overcoming the 32k objects limit is ext3 - which file system to use?



On Fri April 23 2010 21:13:27 Siju George wrote:
> ext3 can have only 32000 files/folders under a folder and I hit that limit.
> Which file system can I use to over come it?
> I am planning for JFS
>
> Does anybody has any recommendations?

There is no such limit.  ext3 can handle as many files per folder
as you've got space for.

$ mkdir /tmp/foo
$ cd /tmp/foo
$ perl -e 'for ($i=0; $i<50000; ++$i) { open(F, ">$i"); close(F); }'
$ ls | wc -l
50000
$ mount | grep md1
/dev/md1 on / type ext3 (rw,errors=remount-ro)
$ mount | grep /tmp
$ cd
$ rm -rf /tmp/foo

--Mike Bird


Reply to: