Skip to contentSkip to conversation

LVM & Raid

linux-lvm Lars Segerlund 3 participants 3 messages Oct 3, 1999 – Oct 12, 1999

lore
Share & tools
lore
#0 lore raw

Hello,

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

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

/ best regards.

#1 lore raw
Quoted 5 lines · Lars Segerlund

Hello,

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

Well, see the list archives, I've posted a small patch so that it can be found.

Quoted 4 lines

do I label a raid partitium so that pvscan vill recognize and vgcreate will think of it a partitiun ?? )

I have been running lvm with raw disks, but now I seem a bit stuck.

Well, I did get some hung boxes (completely hung, without oopses, etc. on a raid0145 / LVM 0.7 box with a RAID5 physical volume. So I reverted to using raid0145 with LVM :( )

Andreas
--

Andreas Kostyrka                     | [email protected]
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA        
#2 lore raw
In reply to Lars Segerlund

Hi Lars.

Quoted 5 lines

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.

But...

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.

Quoted 5 lines

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

Regards,
Heinz

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement CS-TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41

                                                 64205 Darmstadt
[email protected]                      Germany
                                                 +49 6151 886-425
                                                          FAX-386

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-