Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pvcreate to raid1 fails



I am migrating my system to a raid 1.
Given:
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units =3D cylinders of 16065 * 512 =3D 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=3D4420140e:d8a9d5b5:91e28e81:d7bbf71d
ARRAY /dev/md1 UUID=3D05a09bd8:f968bb0e:91e28e81:d7bbf71d

[root at gaf gaf]# pvcreate -v -f /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"

Nore that /dev/md1 is formatted ext4.

Note that md0 contains 2 devices /dev/sda1 /dev/sdc1, but /dev/md1
contains only /dev/sdc2
What I am trying to do is to migrate my system (LVM on /dev/sda2) to raid=
1.

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








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org