All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Mike Snitzer <snitzer@redhat.com>
Subject: Re: [linux-lvm] getting pe_start right
Date: Tue, 10 May 2011 10:28:18 -0400	[thread overview]
Message-ID: <4DC94B82.1090408@cfl.rr.com> (raw)
In-Reply-To: <20110506152129.GA25531@redhat.com>

On 5/6/2011 11:21 AM, Mike Snitzer wrote:
> chances are lvm2's data_alignment_detection will shift the data start to
> the start of the next full stripe of the raid5.

That appears to be what was going on.  I found entries in lvm.conf to 
enable/disable autodetection of the raid stripe width and turned it off.

> You should be able to specify the old start with:
>
> --dataalignment 192k --dataalignmentoffset 0
>
> (--dataalignmentoffset 0 likely isn't needed, but it just overrides
> lvm2's data_alignment_offset detection if it just so happens that
> raid5 has alignment_offset!=0)

The command line switches did not appear to override the autodetection; 
I had to shut it off in the conf file.  Is this a bug?

      reply	other threads:[~2011-05-10 14:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 14:55 [linux-lvm] getting pe_start right Phillip Susi
2011-05-06 15:05 ` CHANDRASEKARAN, GIRIDHAR (GIRI) (ATTSI)
2011-05-06 15:16 ` Milan Broz
2011-05-06 15:21 ` Mike Snitzer
2011-05-10 14:28   ` Phillip Susi [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=4DC94B82.1090408@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=linux-lvm@redhat.com \
    --cc=snitzer@redhat.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 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.