From: Andreas Dilger <adilger@clusterfs.com>
To: Michelle Konzack <linux4michelle@freenet.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Ext3 File System "Too many files" with snort
Date: Sun, 11 Jul 2004 11:16:01 -0600 [thread overview]
Message-ID: <20040711171601.GX23346@schnapps.adilger.int> (raw)
In-Reply-To: <20040711145546.GF720@freenet.de>
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
On Jul 11, 2004 16:55 +0200, Michelle Konzack wrote:
> Hello Andreas,
>
> Am 2004-07-08 12:21:43, schrieb Andreas Dilger:
>
> >If you are actually running out of inodes, then you can use "-i" or "-N"
> >to mke2fs to increase the number of inodes in a new filesystem. Since
> >this defaults to 1 inode per 8kB of space, it seems unlikely that you
> >would run out of inodes before blocks unless you have lots of small files
> >(maildir perhaps? even then "modern" emails usually average > 8kB in size
> >because of HTML crap, lots of headers, attachments, etc).
>
> I have a courier-imap Server where I share all all mailinglists where
> I am subscribed... Curently I have 5,2 Millionen Messages in the ext3.
>
> I have already striped the messages with
>
> :0 fh
> | formail -f -I Received: -I Envelope-to: -I Delivered-To: -I Return-path: \
> -I X-Spam-Checker-Version: -I X-Spam-Status: -I X-Spam-Level:
>
> I have a mailsize of around 2,5 kBytes...
>
> So I habe used 'mkfs.ext3 -b 1024 -N 8000000 ... /dev/sda..'
>
> My question is, how many Inodes can I create on a ext3 filesystem ?
Up to 4 billion inodes, but it depends on the size of the device. You
can create your filesystem with e.g. "-b 1024 -i 2048" to create 1 inode
for each 2kb of space.
> Curently I am running a 3Ware Raid-5 Controller 75xx with 3 x 80 GByte.
This will give you 160GB of usable space, so 160 * 1024 * 1024 / (2 * 1024)
is 80 million, which is what you specified manually above, oh, you put
8 million unless that was a typo.
Yes, it would be good to have dynamic inode allocation for ext3, but it
hasn't been a top priority for anyone to implement it.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://members.shaw.ca/adilger/ http://members.shaw.ca/golinux/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-07-11 17:16 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 17:51 Ext3 File System "Too many files" with snort jmerkey
2004-07-08 18:21 ` Andreas Dilger
2004-07-11 14:55 ` Michelle Konzack
2004-07-11 17:16 ` Andreas Dilger [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-09 16:36 jmerkey
2004-07-09 17:04 ` Dave Jones
2004-07-09 18:30 jmerkey
2004-07-09 18:30 jmerkey
2004-07-09 18:44 ` Hans Reiser
2004-07-09 22:26 ` Andreas Dilger
2004-07-09 18:51 jmerkey
2004-07-09 19:01 jmerkey
2004-07-09 19:08 ` Pete Harlan
2004-07-14 3:37 ` Ben Hoskings
2004-07-09 19:20 jmerkey
2004-07-10 5:07 ` Hans Reiser
2004-07-10 8:33 ` Dave Jones
2004-07-10 17:37 ` Hans Reiser
2004-07-10 17:44 ` Christoph Hellwig
2004-07-10 17:57 ` Hans Reiser
2004-07-10 18:54 ` Christoph Hellwig
2004-07-10 19:23 ` Hans Reiser
2004-07-12 10:20 ` Paolo Ciarrocchi
2004-07-12 12:11 ` Jesper Juhl
2004-07-12 23:05 ` Bernd Eckenfels
2004-07-18 7:22 ` Hans Reiser
2004-07-10 19:11 ` Francois Romieu
2004-07-09 23:11 jmerkey
2004-07-10 6:00 jmerkey
2004-07-10 8:38 ` Dave Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040711171601.GX23346@schnapps.adilger.int \
--to=adilger@clusterfs.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux4michelle@freenet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.