public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: "François Valenduc" <francois.valenduc@tvcablenet.be>
Cc: Graham Murray <graham@gmurray.org.uk>, linux-ext4@vger.kernel.org
Subject: Re: Wrong calculation of space remaining on a 32 bit system.
Date: Mon, 3 Nov 2008 16:46:35 -0500	[thread overview]
Message-ID: <20081103214635.GB18117@mit.edu> (raw)
In-Reply-To: <490F6BD4.4080408@tvcablenet.be>

On Mon, Nov 03, 2008 at 10:23:32PM +0100, François Valenduc wrote:
> So, as you suggested I add the following section in mke2fs.conf:
> 
>    portage = {
>                 features =
> has_journal,extents,flex_bg,uninit_bg,dir_nlink,extra_isize
>                 inode_ratio=4096
>         }

You can also just do

    portage = {
    	    inode_ratio=4096
    }

... and then "mke2fs -t ext4 -T portage" or "/sbin/mkfs.ext4 -T
portage" will do the right thing.  Note BTW, that this issue with the
inode_ratio is also true for ext3, so what I've suggested means that
"mke2fs -t ext3 -T portage" or "mke2fs -t ext2 -T portage" will also
do the right thing for an ext3 or ext2 filesystem, respectively.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2008-11-03 21:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-02 14:40 Wrong calculation of space remaining on a 32 bit system François Valenduc
2008-11-02 20:43 ` Theodore Tso
2008-11-02 21:46   ` news.gmane.org
2008-11-02 21:54     ` Graham Murray
2008-11-02 22:24       ` François Valenduc
2008-11-02 23:01         ` Theodore Tso
2008-11-03 18:28           ` François Valenduc
2008-11-03 20:24             ` Theodore Tso
2008-11-03 21:23               ` François Valenduc
2008-11-03 21:46                 ` Theodore Tso [this message]

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=20081103214635.GB18117@mit.edu \
    --to=tytso@mit.edu \
    --cc=francois.valenduc@tvcablenet.be \
    --cc=graham@gmurray.org.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox