Skip to contentSkip to conversation

RAID and LVM?

linux-lvm Heinz Mauelshagen 2 participants 2 messages Jul 27, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 17 lines · Ingo Molnar
Quoted 3 lines

(rather flame me for it ;) The new RAID driver will likely not go into 2.2.11, but into 2.2.12. Anyway, the new RAID 0723 release is much more merging-friendly wrt. LVM.

ok, you asked for it ;)
there is still some idiosyncrasye wrt HSM and it doesn't build. *joking*
2.2.11 or 2.2.12 does not seem to be a big problem to me.

Quoted 4 lines
Quoted 2 lines

or ideally for raid to be fully integrated into LVM, and create RAID-5 VG's.

or, considering the relative complexity of the two drivers (and the conceptual background), to integrate LVM into the concepts of RAID :) Or

i dont understand your last sentence

Quoted 8 lines
Quoted 1 line

let them live side by side as now.

i believe useful integrating raid and lvm it means a user can dcide the different raid policy for each type of data.
eg. striping for /var/spool/junk
3 way raid1 for /very/important/stuff
raid5 for /other/data

That's the Veritas Volume Manager concept.

Quoted 9 lines

Leaving things as now is still very useful, and i will be very happy to have this arrangement finalized.
we really need to fix LILO (or another boot loader, grub already can read ext2 filesystems) to be able to understand raid and lvm.

as a side question, how does LVM autodetect works
(if it exists, that is)?

Today, it's the initrd mechanism (partially) supported by lvmcreate_initrd in LVM 0.7.
Basically the idea is to have a bios addressable partition (8MB is sufficient) with initrd, vmlinuz, linuxrc, sbin/vgchange, sbin/vgscan, ... and to switch to the real root after activating the root volume group in linuxrc. All the rest can be under lvm control.

Basically the lvm driver can take care of reading the VGDA from the root VG disks at init time.

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

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

#1 lore raw
Quoted 2 lines · Heinz Mauelshagen
Quoted 2 lines

i believe useful integrating raid and lvm it means a user can dcide the different raid policy

...

Quoted 1 line

That's the Veritas Volume Manager concept.

that is what i am accustomed to.
i usually work on hp servers.
are you suggesting there are better ways to do things?

Quoted 5 lines
Quoted 2 lines

as a side question, how does LVM autodetect works
(if it exists, that is)?

Today, it's the initrd mechanism (partially) supported by lvmcreate_initrd in LVM 0.7.

that is what i tought, see my previous msg
but the scan is done in user space, i was asking if some kernel space solution existed/was planned/has any sense

what i want to do is have both raid and LVM work and be autodetected at boot even if both are compiled as modules.
why would i want to do this?
Distributions, i would like both raid and lvm to become
a standard part of all linux distributions.

i hope that there will be some improvements in boot loaders, so we can avoid the small bios addressable partition, and completely avoid the idiotic pc partitioning cheme.

Regards,
Luca

Signature · 2 lines
Luca Berra -- [email protected]
    Communications Media & Services S.r.l.