From: Daniel Troeder <daniel@admin-box.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ext4 inode limit reached
Date: Mon, 12 Dec 2011 16:44:44 +0100 [thread overview]
Message-ID: <4EE6216C.2040607@admin-box.com> (raw)
In-Reply-To: <20111212155439.67504aef@weird.wonkology.org>
[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]
On 12.12.2011 15:54, Alex Schuster wrote:
> Joseph writes:
>> That is scary. I just install new HD with 2TB capacity and ext4 that is
>> 2% full and:
>> $ find /home/joseph/ -xdev | wc -l
>> shows: 169977 that is 26% full.
> No, that is 26% of the number of total inodes _Daniel_ has on his small
> partition. Yours is bigger, so you have more inodes. My largest partition
> has 724G, and 46 million inodes. Use df -i to see how many you have.
Ah yes... My partition is only 10GB, and mkfs.ext4 sais in its man page
(at "-N" option) it uses a "calculation [..] based on the number of
blocks and the bytes-per-inode ratio". So a small partition will have
fewer inodes than a big partition.
mkfs.extX uses settings for the inode-block-ratio from /etc/mke2fs.conf.
The "-T" option configures which one to use, my partition falls into
category 512MB < "default" < 4TB, which makes it use inode_ratio=16384.
I think I should use the "news" type. It has inode_ratio=4096, which
should give me 4 times the inodes.... testing... yes: 2621440 inodes
instead of 655360.
Previously I used reiser3fs for this kind of filesystem usage, but it's
not faster than extX anymore. Moreover it's running on a SSD now, and
afaik reiser3fs doesn't support TRIM :(
OK - thank you all. It seems I'll have to reformat.
Bye,
Daniel
--
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2011-12-12 15:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 11:15 [gentoo-user] ext4 inode limit reached Daniel Troeder
2011-12-12 12:00 ` Alex Schuster
2011-12-12 14:31 ` Joseph
2011-12-12 14:54 ` Alex Schuster
2011-12-12 15:44 ` Daniel Troeder [this message]
2011-12-12 14:39 ` Joseph
2011-12-12 14:48 ` Pandu Poluan
2011-12-13 0:44 ` Frank Steinmetzger
2011-12-13 10:07 ` Daniel Troeder
2011-12-13 5:24 ` Michael Orlitzky
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=4EE6216C.2040607@admin-box.com \
--to=daniel@admin-box.com \
--cc=gentoo-user@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox