[linux-lvm] LVM & Raid

Heinz Mauelshagen mauelsha at ez-darmstadt.telekom.de
Tue Oct 12 20:15:29 UTC 1999

Hi Lars.

>  I'm having trouble setting up lvm on a raid5 array ( /dev/md0 ),
>  my trouble is that pvscan doesn't find it, ( how in the heck
>  do I label a raid partitium so that pvscan vill recognize and vgcreate
>  will think of it a partitiun ?? )

You don't have to 'label' it.
Just say "pvcreate /dev/md0" and "vgcreate Idontknow /dev/md0".

pv_read_all_pv() should find your /dev/md0 after you did that pvcreate on it.


Because pv_read_all_pv() relies on the /dev setup, you might suffer
from some unusual /dev/md* entries.

Please check them and run "pvscan -d" looking for /dev/md* hits.
Look what pvscan thinks of them please.

>  I have been running lvm with raw disks, but now I seem a bit stuck.
>  By the way it's an alpha and v0.7. 2.2.12




Systemmanagement CS-TS                           T-Nova
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge at ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425

More information about the linux-lvm mailing list