From: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
To: Prashant Shah <pshah.mumbai@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Maximum number of directories
Date: Mon, 04 Feb 2013 13:36:29 +0000 [thread overview]
Message-ID: <3667261.Q2Z9h3nZ4l@deuteros> (raw)
In-Reply-To: <CAD6i1fKHDP3m8EQZVaY-3VQ+6kh5=Bv7SQhLozJJEb7UJ5q=VQ@mail.gmail.com>
On Monday 04 February 2013 18:49:54 Prashant Shah wrote:
> Hi,
>
> On Mon, Feb 4, 2013 at 4:25 PM, Tvrtko Ursulin
>
> <tvrtko.ursulin@onelan.co.uk> wrote:
> > I was creating such a (crazy?) tree and hit -ENOSPC at ~31 million
> > directories created in total with df showing only 40% use:
> >
> > Inode count: 29868032
> > Free inodes: 29848131
>
> Since, each directory will use a inode entry, there is some mismatch
> with ~31 million directories and 19901 inodes in use. The inode usage
> count should be much larger. You have max 29 million inodes available
> - so max can be 29 million directories.
Yeah, I totally forgot about the inode situation on ext filesystems. So is
tune2fs giving wrong stats for live (mounted) filesystems?
> Try $blk
What is that?
Thanks,
Tvrtko
next prev parent reply other threads:[~2013-02-04 13:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-04 10:55 Maximum number of directories Tvrtko Ursulin
2013-02-04 13:19 ` Prashant Shah
2013-02-04 13:36 ` Tvrtko Ursulin [this message]
2013-02-04 15:58 ` Prashant Shah
2013-02-05 13:06 ` Lukáš Czerner
2013-02-05 14:30 ` Tvrtko Ursulin
2013-02-05 14:43 ` Lukáš Czerner
2013-02-05 14:58 ` Tvrtko Ursulin
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=3667261.Q2Z9h3nZ4l@deuteros \
--to=tvrtko.ursulin@onelan.co.uk \
--cc=linux-ext4@vger.kernel.org \
--cc=pshah.mumbai@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).