[linux-lvm] Linux 2.4.0-test12-pre7 LVM .9 vs .8final

Luca Berra bluca at comedia.it
Wed Dec 13 07:36:53 UTC 2000


On Tue, Dec 12, 2000 at 05:07:20PM -0600, lewis at sistina.com wrote:
> On Tue, Dec 12, 2000 at 08:48:07AM +0100, Luca Berra wrote:
> > On Mon, Dec 11, 2000 at 07:44:32AM +0100, Ulf Bartelt wrote:
> > > A set of lvm tools for multiple versions of the io protocol could help a
> > > lot...
> > > 
> > > Sure this can be faked using links, wrappers etc...
> > 
> > i am using this piece of junk for testing and switching back btw 0.8 and 0.9
> 
> As far as I can tell though, this won't help people who are booting off of LVM
> to transition to 0.9  We need some sort of boot disk image or something to
> activate the volume group under the 0.9 code.

I don't grok the problem, (i have root lvm on my main system)
/dev/vg01/lvol1         253871     49152    191612  20% /

since the only known way to boot this is by having an initrd
i just put lvm 0.9 tools in the initrd an rebooted

my linuxrc looks like:
#!/bin/sh -x
mount -t proc /proc /proc
echo "" > /proc/sys/kernel/modprobe
insmod -k /lib/modules/*/kernel/drivers/md/lvm-mod.o
insmod -k /lib/modules/*/kernel/drivers/md/md.o
insmod -k /lib/modules/*/kernel/drivers/md/raid1.o
insmod -k /lib/modules/*/kernel/drivers/md/xor.o
insmod -k /lib/modules/*/kernel/drivers/md/raid5.o
insmod -k /lib/modules/*/kernel/drivers/scsi/scsi_mod.o
insmod -k /lib/modules/*/kernel/drivers/scsi/aic7xxx.o aic7xxx='verbose'
insmod -k /lib/modules/*/kernel/drivers/scsi/sd_mod.o
insmod -k /lib/modules/*/kernel/drivers/block/floppy.o
insmod -k /lib/modules/*/kernel/fs/reiserfs/reiserfs.o
raidstart -a
ln -s md/0 /dev/md0
ln -s md/1 /dev/md1
vgscan -v
vgchange -a y
umount /proc


-- 
Luca Berra -- bluca at comedia.it
    Communication Media & Services S.r.l.



More information about the linux-lvm mailing list