From: Tvrtko Ursulin Subject: Re: Maximum number of directories Date: Mon, 04 Feb 2013 13:36:29 +0000 Message-ID: <3667261.Q2Z9h3nZ4l@deuteros> References: <17001225.1MS6YREEfJ@deuteros> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: linux-ext4@vger.kernel.org To: Prashant Shah Return-path: Received: from claranet-outbound-smtp05.uk.clara.net ([195.8.89.38]:45717 "EHLO claranet-outbound-smtp05.uk.clara.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750834Ab3BDNgf (ORCPT ); Mon, 4 Feb 2013 08:36:35 -0500 In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: On Monday 04 February 2013 18:49:54 Prashant Shah wrote: > Hi, > > On Mon, Feb 4, 2013 at 4:25 PM, Tvrtko Ursulin > > 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