Re: LVM migration for 2.4->2.6, fallback path?

From: Erik Hensema
Date: Sun Jan 11 2004 - 18:06:33 EST


Matthias Andree (matthias.andree@xxxxxx) wrote:
> Hi,
>
> I understand that the following three combinations work (assuming
> 2.4.24/2.6.1):
>
> Userspace Kernelspace
> ------------------------------------------
> LVM1 2.4 LVM
> LVM2 2.4 + devmapper patch
> LVM2 2.6
>
> But will LVM2 + 2.4 LVM work? LVM1 + 2.6 will not.

Just don't resize your volumes in 2.6, and you'll be fine.
Resizing causes 'vendor lock in' though ;-)

> I presume neither works, but if there is a way, I'd like to know to save
> myself some work.
>
> Oh, and while I'm at it, what good is the "old ioctl" switch in kernel
> space? I am currently trying without and it works fine with a current
> LVM2 version (which is presumably how things are meant to be).

Just use the new ioctl, the old is just for compatibility with an
old lvm2 userspace. Clearly you don't have that.

--
Erik Hensema <erik@xxxxxxxxxxx>
-
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/