* [linux-lvm] Migrating LVM1->LVM2 and kernel 2.4->2.5
@ 2003-03-07 13:06 Alexy Khrabrov
2003-03-08 4:35 ` Joe Thornber
0 siblings, 1 reply; 2+ messages in thread
From: Alexy Khrabrov @ 2003-03-07 13:06 UTC (permalink / raw)
To: linux-lvm
I wonder whether there's any advantage for migrating
to LVM2 on 2.4 kernels, if everything works OK?
But, as I see in kernel 2.5, there's no LVM by name,
just a low-level device mapper. Does it mean that
in order to even try out kernel 2.5 on an LVM1 system,
I have to migrate to LVM2 first? Is there any way
to "migrate" while being able to roll back to LVM1?
Does it depend on whether the root partition is LVM?
One of mine is, LVM1 too.
--
Cheers,
Alexy Khrabrov :: www.setup.org :: Age Quod Agis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Migrating LVM1->LVM2 and kernel 2.4->2.5
2003-03-07 13:06 [linux-lvm] Migrating LVM1->LVM2 and kernel 2.4->2.5 Alexy Khrabrov
@ 2003-03-08 4:35 ` Joe Thornber
0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2003-03-08 4:35 UTC (permalink / raw)
To: linux-lvm
On Fri, Mar 07, 2003 at 02:05:10PM -0500, Alexy Khrabrov wrote:
>
> I wonder whether there's any advantage for migrating
> to LVM2 on 2.4 kernels, if everything works OK?
You could use the new atomic metadata format, configure the system
more flexibly with the new config file and use the human readable
metadata backups in the event of problems, just to name a few
advantages. Personally I think it's worth upgrading for the 'lvs',
'pvs' and 'vgs' commands alone, I always found the *display commands
overly verbose.
> But, as I see in kernel 2.5, there's no LVM by name,
> just a low-level device mapper. Does it mean that
> in order to even try out kernel 2.5 on an LVM1 system,
> I have to migrate to LVM2 first? Is there any way
> to "migrate" while being able to roll back to LVM1?
LVM2 supports the LVM1 metadata, so there is no migration as such. If
you have a kernel with dm built in and the LVM2 tools you can use
LVM2. If you want to roll back to LVM1 just switch back to an LVM1
kernel and tools.
If you want to run an 2.5 kernel you will have to use LVM2.
> Does it depend on whether the root partition is LVM?
> One of mine is, LVM1 too.
We have never run a root from an LVM2 lv, but there's no reason why it
wont work. But of course don't expect the initrd built with
lvmcreate_initrd to work.
- Joe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-08 4:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 13:06 [linux-lvm] Migrating LVM1->LVM2 and kernel 2.4->2.5 Alexy Khrabrov
2003-03-08 4:35 ` Joe Thornber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.