Re: Device-mapper submission for 2.4

From: Tupshin Harper
Date: Tue Dec 09 2003 - 20:01:04 EST


Jose Luis Domingo Lopez wrote:

On Tuesday, 09 December 2003, at 23:46:13 +0000,
Paul Jakma wrote:



There are people who store their data in LVM, we need compatibility,
and ideally we'd like to be able to migrate in small steps.



Install "module-init-tools", install "LVM2" (that can drive both LVM1
and DM Logical Volumes), compile a 2.6.x Linux kernel, reboot and you
should be done.

As far as I remember, migration is just that easy, and you can always go
back to plain 2.4.x while you don't update LVM metadata to newer version 2.

Greetings.



This is not true. LVM2 can read the LVM1 format, but it cannot communicate with non-dm interfaces in 2.4.x. This means that you need to run lvm1 on 2.4 and lvm2 on 2.6 unless you patch 2.4 with dm.

If this were the whole story, then it would be an amazingly painful transition to (safely) upgrade an lvm machine from 2.4 to 2.6 (upgrade to patched 2.4, then upgrade to 2.6). Luckily, debian has made the lvm1 and lvm2 packages not conflict, and the correct ones runs at startup depending on which kernel you have. This is probably a feature that all distros will have to adopt to ease the upgrade cycle.

-Tupshin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/