Skip to contentSkip to conversation

2.4.0 kernel doesn't see LVM

linux-lvm Mark Phillips 3 participants 4 messages Jan 24, 2001 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I am currently running a 2.4.0-test9 kernel with LVM compiled in and with associated software, version 0.8.final. Everything works fine here.

I tried compiling the final version of 2.4.0 with LVM compiled in, but when I tried booting, it complained that it didn't know about my LVM devices! It seems strange that 2.4.0-test9 works fine but 2.4.0 doesn't. Could it be that I need to upgrade to 0.9 of the LVM software?

What else could be the problem?

Thanks,

Mark.

Signature · 7 lines
_/~~~~~~~~\___/~~~~~~\____________________________________________________
____/~~\_____/~~\__/~~\__________________________Mark_Phillips____________
____/~~\_____/~~\[email protected]_
____/~~\HE___/~~\__/~~\APTAIN_____________________________________________
____/~~\______/~~~~~~\____________________________________________________
__________________________________________________________________________
        "They told me I was gullible ... and I believed them!" 
#1 lore raw
Quoted 7 lines · Mark Phillips

Hi,

I am currently running a 2.4.0-test9 kernel with LVM compiled in and with associated software, version 0.8.final. Everything works fine here.

Quoted 6 lines

I tried compiling the final version of 2.4.0 with LVM compiled in, but when I tried booting, it complained that it didn't know about my LVM devices! It seems strange that 2.4.0-test9 works fine but 2.4.0 doesn't. Could it be that I need to upgrade to 0.9 of the LVM software?

With 2.4.0, the LVM version is 0.9, which is not compatible with 0.8. So you have to upgrade your user space tools to 0.9, and to migrate your 0.8final LVM volumes to 0.9
volumes. For me, the safiest way to do this is to make a backup of your data, crash all your LVm setup, reboot on 2.4.0, create your VG and LV with 0.9 user space tools, and then restore data.
I think there is some way to migrate without restoring data, check the list archive for this.

#4 lore raw
In reply to a message not in the archive
Quoted 10 lines · [email protected] [[email protected]] wrote:

In article <[email protected]> you write:

Quoted 5 lines

I tried compiling the final version of 2.4.0 with LVM compiled in, but when I tried booting, it complained that it didn't know about my LVM devices! It seems strange that 2.4.0-test9 works fine but 2.4.0 doesn't. Could it be that I need to upgrade to 0.9 of the LVM software?

You got it - you need the 0.9 user tools from ftp.sistina.com. BTW, you might want to think about going to 0.9.1beta2 - it's got some important fixes and it at least as stable as 0.9.

If I upgrade from 0.8 to 0.9.1beta2, will it be backward compatible? That is, will I still be able to use LVM fine under my current 2.4.0-test9 kernel?

Thanks,

Mark.

Signature · 7 lines
_/~~~~~~~~\___/~~~~~~\____________________________________________________
____/~~\_____/~~\__/~~\__________________________Mark_Phillips____________
____/~~\_____/~~\[email protected]_
____/~~\HE___/~~\__/~~\APTAIN_____________________________________________
____/~~\______/~~~~~~\____________________________________________________
__________________________________________________________________________
        "They told me I was gullible ... and I believed them!" 
#2 lore raw
In reply to Benoit SERRA
Quoted 2 lines · Benoit SERRA

I think there is some way to migrate without restoring data, check the list archive for this.

Of course there is, 0.9 understands 0.8's on-disk structure, only the interface between kernel and userspace has changed.

But it's always a good idea to make a backup ;-)

Jan