On Wed, May 30, 2012 at 11:09 AM, Shane Johnson
<s...@rasmussenequipment.com> wrote:
>
> I am sure where you have a working system you already know this, but for
> those who find this and want to put LVM on top of a raid with Grub2,
> make sure you create the raid with the .9 version of the metadata or
> Grub2 won't work with it.

No and just set up a VM to prove it.

root@debmdraid:~# fdisk -l /dev/sda | grep /dev
Disk /dev/sda: 21.5 GB, 21474836480 bytes
/dev/sda1   *        2048    41940991    20969472   fd  Linux raid autodetect

root@debmdraid:~# fdisk -l /dev/sdb | grep /dev
Disk /dev/sdb: 21.5 GB, 21474836480 bytes
/dev/sdb1            2048    41940991    20969472   fd  Linux raid autodetect

root@debmdraid:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
[raid4] [raid10]
md0 : active raid1 sdb1[1] sda1[0]
      20968376 blocks super 1.2 [2/2] [UU]

root@debmdraid:~# pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/md0   vg-sysroot lvm2 a-   20.00g    0

root@debmdraid:~# vgs
  VG         #PV #LV #SN Attr   VSize  VFree
  vg-sysroot   1   1   0 wz--n- 20.00g    0

root@debmdraid:~# lvs
  LV         VG         Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  lv-sysroot vg-sysroot -wi-ao 20.00g


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=Sys8q-aox+ToATn2BoEM+4KxwcgN-MEN6BNA=1hgyb...@mail.gmail.com

Reply via email to