pvcreate to raid1 fails

Jerry Feldman gaf at blu.org
Wed Mar 3 10:21:15 EST 2010


On 03/03/2010 12:59 AM, Benjamin Scott wrote:
> On Tue, Mar 2, 2010 at 7:51 AM, Jerry Feldman <gaf at blu.org> wrote:
>   
>> The difference between the way I did it an your suggestion is I had
>> missing before the /dev/sdc2.
>>     
>   I'm pretty sure that doesn't matter.
>
>   Going back to the OP:
>
> On Mon, Mar 1, 2010 at 5:48 PM, Jerry Feldman <gaf at blu.org> wrote:
>   
>> [root at gaf gaf]# pvcreate -v -f /dev/md1
>>  /dev/md1: pe_align (128 sectors) must not be less than pe_align_offset
>>     
> $ wget --quiet ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.61.tgz
> $ tar -xzf LVM2.2.02.61.tgz
> $ grep -lr "must not be less than" LVM2.2.02.61
> $
Just a bit more.
The message comes from LVM2.2.02.61/lib/format_text/format-text.c
Rather than reitereating the exact code, there are a number of FixMe
comments both at the start of the function, _text_pv_setup line 1794.
Based on the message:
/dev/md1: pe_align (128 sectors) must not be less than pe_align_offset
(36028797018963967 sectors)
I would suspect that possibly pe_align_offset may either not be
initialized properly or is picking up incorrect information since
/dev/sdc2 starts at cylinder 26.


-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20100303/dd3b2efc/attachment-0001.bin 


More information about the gnhlug-discuss mailing list