From: Paul Slootman <paul@wurtel.net>
To: linux-ext4@vger.kernel.org
Subject: Re: #blocks per group too big: 37265
Date: Fri, 4 Apr 2008 11:21:20 +0200 [thread overview]
Message-ID: <20080404092120.GA28403@msgid.wurtel.net> (raw)
In-Reply-To: <20080403183929.GE13486@40mit.edu>
> The stride parameter is the problem. Newer versions of e2fsprogs
> don't allow a stride parameter which is too big. If you want to do
> the perfect calculation, you take the 64k chunk size, and divide it by
> the 4k blocksize to yield a stride parameter of 16. Actually, though,
> simply using a non-zero stride size is actually good enough --- and if
> you have a even number of RAID-5 disks, you might not need this
> parameter at all. (It's only purpose is to perturb the location of
> the block bitmaps so that all of the bitmaps don't end up on a single
> hard drive.)
Actually, as I wrote:
>> Removing the stride option didn't help. Removing all options didn't
>> help...
I still end up with a "blocks per group" of 37265, and when mounted I'm
greeted with the message "EXT4-fs: #blocks per group too big: 37265".
Is the ext4 code in the 2.6.25-rc8 kernel too old? According to the
source the number of block per group must be <= 8 * blocksize; with 4k
blocks that would mean 32768, not 37265.
Even passing the -g option to explicitly set the blocks per group gets
ignored.
> BTW, we will be making a new snapshot for people who want to test ext4
> soon....
Kernel code and userspace utils? Or just kernel code?
Where can I find the most recent version of both? I looked at
Documentation/filesystems/ext4.txt, but I feel that's a bit outdated:
- It's still mke2fs -j /dev/hda1
- mount /dev/hda1 /wherever -t ext4dev
This ignores the fact you need to set the testing option...
Thanks,
Paul Slootman
next prev parent reply other threads:[~2008-04-04 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-03 16:19 #blocks per group too big: 37265 Paul Slootman
2008-04-03 17:58 ` Eric Sandeen
2008-04-03 19:12 ` Theodore Tso
2008-04-03 19:24 ` Eric Sandeen
2008-04-03 18:39 ` Theodore Tso
[not found] ` <20080403183929.GE13486@40mit.edu>
2008-04-04 9:21 ` Paul Slootman [this message]
2008-04-04 12:08 ` Theodore Tso
2008-04-04 12:56 ` Paul Slootman
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=20080404092120.GA28403@msgid.wurtel.net \
--to=paul@wurtel.net \
--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.