Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is DM(/LVM2) backwards compatible with LVM1?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Fri Aug 27, 2004 4:38 pm    Post subject: Is DM(/LVM2) backwards compatible with LVM1? Reply with quote

Hi,

I've got this spanned volume made with LVM1 (using a 2.4 kernel)...

Will DM/LVM2 detect it? Can I use it with a 2.6 kernel?

Please mention if you have done this in practise or not...

Regards,
Pascal de Bruijn
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Fri Aug 27, 2004 5:59 pm    Post subject: Reply with quote

Yes, lvm2 is downward compatible with the lvm 1.x metadata format and works fine with 2.6's device-mapper.

But know that with kernel 2.6 the autodetection for volumes by the kernel is gone (this matters if your root patition os on a lvm volume, then you will need an initrd for the detection and activation). It's done now with userspace tools only, i.e. vgscan; vgchange -ay

Forgot to mention: I have several old volumes in 1.x metadata format running though lvm2. I use lvm2 since the 2.5.6x kernels were released. I never had an lvm related problem, but I use lvm features like resizing etc. very seldom.

BTW evms2 is also compatible with the lvm 1.x format but not with newer lvm2 volumes (but support is planned).
Back to top
View user's profile Send private message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Fri Aug 27, 2004 6:22 pm    Post subject: Reply with quote

ah, thankyou!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum