All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
To: linux-ext4@vger.kernel.org
Subject: Maximum number of directories
Date: Mon, 04 Feb 2013 10:55:54 +0000	[thread overview]
Message-ID: <17001225.1MS6YREEfJ@deuteros> (raw)


Hi all,

What is the maximum number of directories ext4 can hold in a tree layout with 
a depth of ~160 and each directory node having then a couple to couple dozen 
subdirectories?

I was creating such a (crazy?) tree and hit -ENOSPC at ~31 million directories 
created in total with df showing only 40% use:

Filesystem                 1K-blocks       Used  Available Use% Mounted on
/dev/mapper/data           477277612K 177766152K 275621952K  40% /data

Some lines from tune2fs made me think it should hold more, but obviously I was 
mistaken? Or it is a bug?

Inode count:              29868032
Free inodes:              29848131

Regards,

Tvrtko


             reply	other threads:[~2013-02-04 11:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 10:55 Tvrtko Ursulin [this message]
2013-02-04 13:19 ` Maximum number of directories Prashant Shah
2013-02-04 13:36   ` Tvrtko Ursulin
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=17001225.1MS6YREEfJ@deuteros \
    --to=tvrtko.ursulin@onelan.co.uk \
    --cc=linux-ext4@vger.kernel.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 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.