2003-07-18 16:46:32

by Robert P. J. Day

[permalink] [raw]
Subject: LVM/device mapper support for 2.6.0-test1?


any pointers to LVM[2] support for 2.6? that last message
for LVM and device mapper referred only to 2.4. thanks.

rday


2003-07-18 17:15:35

by Alasdair G Kergon

[permalink] [raw]
Subject: Re: LVM/device mapper support for 2.6.0-test1?

On Fri, Jul 18, 2003 at 12:55:02PM -0400, Robert P. J. Day wrote:
> any pointers to LVM[2] support for 2.6? that last message
> for LVM and device mapper referred only to 2.4. thanks.

You should use the patches joe submitted to l-k recently together with
the userspace library and tools in the tarballs on the ftp site.

Snapshots and pvmove are still being ported to 2.6.

Patches:
http://www.ussg.iu.edu/hypermail/linux/kernel/0307.1/1023.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0307.1/1025.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0307.1/1027.html
[remove the blk.h includes now to patch cleanly]

Alasdair

2003-07-18 17:21:04

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: LVM/device mapper support for 2.6.0-test1?

On Fri, 18 Jul 2003 12:55:02 EDT, "Robert P. J. Day" <[email protected]> said:
>
> any pointers to LVM[2] support for 2.6? that last message
> for LVM and device mapper referred only to 2.4. thanks.

I've been running the LVM2.2.00.01-rc2 and device-mapper.1.00.01-rc2
code with Joe Thornber's 'dm v4 ioctl' patch, and it works just fine except
for the lack of pvmove.


Attachments:
(No filename) (226.00 B)

2003-07-19 12:16:38

by Robert P. J. Day

[permalink] [raw]
Subject: Re: LVM/device mapper support for 2.6.0-test1?

On Fri, 18 Jul 2003, Alasdair Kergon wrote:

> On Fri, Jul 18, 2003 at 12:55:02PM -0400, Robert P. J. Day wrote:
> > any pointers to LVM[2] support for 2.6? that last message
> > for LVM and device mapper referred only to 2.4. thanks.
>
> You should use the patches joe submitted to l-k recently together with
> the userspace library and tools in the tarballs on the ftp site.
>
> Snapshots and pvmove are still being ported to 2.6.

i just built (successfully, i think :-) LVM2 under 2.6.0-test1-ac2,
and without testing it yet, i noticed that there is, in fact,
a "pvmove" command. does that mean that all the pvmove functionality
is there now? or what does it mean?

rday

2003-07-19 13:56:32

by Alasdair G Kergon

[permalink] [raw]
Subject: Re: LVM/device mapper support for 2.6.0-test1?

On Sat, Jul 19, 2003 at 08:30:20AM -0400, Robert P. J. Day wrote:
> i just built (successfully, i think :-) LVM2 under 2.6.0-test1-ac2,
> and without testing it yet, i noticed that there is, in fact,
> a "pvmove" command. does that mean that all the pvmove functionality
> is there now? or what does it mean?

pvmove will only work with 2.4 kernels so far.
It is still being ported to 2.6.

If you attempt to run pvmove on 2.6, it'll fail and you may need to run
'pvmove --abort' to clean up the (failed) metadata changes.

Alasdair
--
[email protected]