From: "Tyler J. Wagner" <tyler@tolaris.com>
To: Roman Mamedov <rm@romanrm.ru>
Cc: linux-raid@vger.kernel.org
Subject: Re: alignment of metadata 1.2 and mkfs.ext4
Date: Wed, 06 Jul 2011 10:52:34 +0100 [thread overview]
Message-ID: <1309945954.2685.2.camel@baal> (raw)
In-Reply-To: <20110706152016.1982c6fd@natsu>
On Wed, 2011-07-06 at 15:20 +0600, Roman Mamedov wrote:
> On Wed, 06 Jul 2011 08:11:16 +0100
> "Tyler J. Wagner" <tyler@tolaris.com> wrote:
>
> > Metadata 1.2 puts the data 4K from the start of the device/partition.
>
> This is not correct. See mdadm -E /dev/sdX.
>
> $ sudo mdadm -E /dev/sdc3
> /dev/sdc3:
> ...
> Version : 1.2
> ...
> Data Offset : 2048 sectors
> ...
That is very interesting. The mdadm man page, and everything I've seen
online, all say "The different sub-versions store the superblock at
different locations on the device, either at the end (for 1.0), at the
start (for 1.1) or 4K from the start (for 1.2)."
Regards,
Tyler
--
"Religion is the opiate of the masses, so long as the masses are straight.
However, amass a bunch of lesbians and you're going to need actual drugs."
-- OKCupid Blog, with apologies to Karl Marx
http://blog.okcupid.com/index.php/gay-sex-vs-straight-sex/
next prev parent reply other threads:[~2011-07-06 9:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 7:11 alignment of metadata 1.2 and mkfs.ext4 Tyler J. Wagner
2011-07-06 8:35 ` Werner Fischer
2011-07-06 9:20 ` Roman Mamedov
2011-07-06 9:52 ` Tyler J. Wagner [this message]
2011-07-06 10:02 ` Roman Mamedov
2011-07-06 13:40 ` Tyler J. Wagner
2011-07-06 10:03 ` Robin Hill
-- strict thread matches above, loose matches on Subject: below --
2011-07-06 7:10 Tyler J. Wagner
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=1309945954.2685.2.camel@baal \
--to=tyler@tolaris.com \
--cc=linux-raid@vger.kernel.org \
--cc=rm@romanrm.ru \
/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).