Skip to contentSkip to conversation

return from lvm2 to lvm

linux-lvm guy cadoche 3 participants 3 messages Nov 24, 2003 – Nov 25, 2003

lore
Share & tools
lore
#0 lore raw

Hello,
I was using lvm on a 2.4 kernel (gentoo) and it works perfectly.
I install kernel-2.6 and lvm2 : works perfectly.
I want to return to kernel-2.4 and as the patch for device-mapper is not include in the kernel core, cannot mount the lvm disk. it search for device-mapper (modprobe) and not for lvm-mod
I unmerge lvm2 and device-mapper...still the same.
Is there a way to return to use lvm-mod under kernel-2.4.22 ???
(I want to return because vmware-workstation doesn't work under kernel-2.6)
Thank you
Guy

#1 lore raw
Quoted 6 lines · guy cadoche

I was using lvm on a 2.4 kernel (gentoo) and it works perfectly.
I install kernel-2.6 and lvm2 : works perfectly.
I want to return to kernel-2.4 and as the patch for device-mapper is not include in the kernel core, cannot mount the lvm disk. it search for device-mapper (modprobe) and not for lvm-mod
I unmerge lvm2 and device-mapper...still the same.
Is there a way to return to use lvm-mod under kernel-2.4.22 ???

I'd ask on a gentoo mailing list, it looks like a distro specific problem.

L.

Signature · 6 lines
Luca Berra -- [email protected]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
#2 lore raw
In reply to guy cadoche
Quoted 4 lines · guy cadoche

I want to return to kernel-2.4 and as the patch for device-mapper is not include in the kernel core, cannot mount the lvm disk. it search for device-mapper (modprobe) and not for lvm-mod
I unmerge lvm2 and device-mapper...still the same.
Is there a way to return to use lvm-mod under kernel-2.4.22 ???

Try doing a vgchange -a n, vgchange -a y to re-create the device nodes before you mount the LV. I went back from lvm2 to lvm1 and now I have to do this every restart. mkvgnodes does not help, BTW.

/ Rickard Olsson,IT-Konsult/
/ Telefon: +46 70 635 01 42/
/ http://www.webhackande.se/