linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Soltys <soltys@ziu.info>
To: Michael Evans <mjevans1983@gmail.com>
Cc: Khelben Blackstaff <eye.of.the.8eholder@gmail.com>,
	linux-raid@vger.kernel.org
Subject: Re: Alignment of RAID on specific boundary
Date: Tue, 05 Jan 2010 08:50:21 +0100	[thread overview]
Message-ID: <4B42EF3D.9000507@ziu.info> (raw)
In-Reply-To: <4877c76c1001042257h49103054t977de11410eb65c6@mail.gmail.com>

Michael Evans wrote:
> 
> It starts the LVM2 header after 0x3000 bytes (64K chunk size); I'd
> hope to see it around 0x10000.
> 
> It looks like the data isn't padded up to the desired offset.
> 
> I agree, it would be useful to have an option to specify the offset of
> the first data chunk.


Regarding lvm, you can use --dataalignment and --metadatasize for that purpose. 
Recent lvm versions, when creating directly on md raid (and assuming recent kernel), 
should align themselves automatically:

http://www.redhat.com/archives/linux-lvm/2009-September/msg00092.html


  reply	other threads:[~2010-01-05  7:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 19:30 Alignment of RAID on specific boundary Khelben Blackstaff
2010-01-04 21:14 ` David Rees
2010-01-04 21:51   ` Khelben Blackstaff
2010-01-05  8:24     ` Antonio Perez
2010-01-05 13:02       ` Khelben Blackstaff
2010-01-05  6:57 ` Michael Evans
2010-01-05  7:50   ` Michal Soltys [this message]
2010-01-05 13:44   ` Khelben Blackstaff
2010-01-05 15:35     ` John Robinson
2010-01-06  1:46       ` Michael Evans
     [not found]         ` <7b3edae11001060500g2d63f2cav81bf8a90fc0b946b@mail.gmail.com>
2010-01-06 14:44           ` Khelben Blackstaff

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=4B42EF3D.9000507@ziu.info \
    --to=soltys@ziu.info \
    --cc=eye.of.the.8eholder@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=mjevans1983@gmail.com \
    /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).