pvcreate to raid1 fails

Jerry Feldman gaf at blu.org
Sat Mar 6 14:15:45 EST 2010

I've finally done a successful pvcreate.
First I booted into Knoppix 6.2.1, started raid1, pvcreate failed,
stopped mdadm and did a pvcreate on /dev/sdc2.
Booted back into Fedora, and I have successfully done a vgextend to
/dev/md1, and am now moving the extents over. Once I have everything
moved, and the fstab set up correctly, before I add /dev/sda2 to the
raid1, I will remove /dev/sda1 from /dev/md0, and repartition /dev/sda
on cylinder boundaries.  The messy step is rebuilding the boot
partition, but I've done that many times before.

On 03/04/2010 11:23 AM, Benjamin Scott wrote:
> On Thu, Mar 4, 2010 at 7:34 AM, Jerry Feldman <gaf at blu.org> wrote:
>> On 03/03/2010 09:53 PM, Benjamin Scott wrote:
>>>   md1 (currently only on sdc2) is bigger than sda2.  You will not be
>>> able to mirror md1 back on to sda2 without repartitioning sda, which
>>> will mean removing sda1 from md0.
>> That is intentional. /dev/SDA is a Seagate and /dev/sdc is a WD.
>   Interesting.  According to the fdisk output, they're identical in
> size, down to the block.  Usually I don't get that lucky, I've found.
> :)
>> This way I reduce the chance of a simultaneous failure, like we had at the
>> BLU last year where all of our drives were the same MFR and lot #.
>   Hmmm, that's a good idea.

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/20100306/2ac198c6/attachment.bin 

More information about the gnhlug-discuss mailing list