pvcreate fails on large RAID1 both on adding new drive as well as new installation Fedora 12

Jerry Feldman gaf at blu.org
Wed Mar 10 13:53:24 UTC 2010


Fedora 12 with kernel 2.6.31.12-174.2.3.fc12.x86_64
Processor is an AMD Opteron Quad Core. 6GB memory.
LVM is lvm2-2.02.53-2.fc12.x86_64

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0003a96c

    Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1          25      200781   fd  Linux raid
autodetect
/dev/sdc2              26      121601   976559220   fd  Linux raid
autodetect

ARRAY /dev/md0 UUID=4420140e:d8a9d5b5:91e28e81:d7bbf71d
ARRAY /dev/md1 UUID=05a09bd8:f968bb0e:91e28e81:d7bbf71d

[root at gaf gaf]# pvcreate -v /dev/md1
   /dev/md1: pe_align (128 sectors) must not be less than pe_align_offset
(36028797018963967 sectors)
   /dev/md1: Format-specific setup of physical volume failed.
   Failed to setup physical volume "/dev/md1"

Please note that /dev/md1 is net up as a single disk at the point of failure.

After spending significant time trying to get this to work, I decided to reinstall my system from scratch since I have a complete backup. During installation I set up 2 RAID1 arrays, /dev/md0 and /dev/md1 with the appropriate LVM set up through Anaconda. During the write to disk phase, it failed.

I subsequently installed OpenSuSE 11.2, and it successfully allocated the RAID1 array, but on reboot, it failed, so I went back to a single drive Fedora 12.

I have not had time yet to check the bugzilla database or file a bugzilla yet.


-- 
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



More information about the users mailing list