linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LVM2 user space, device mapper, Linux 2.4/2.6 dual boot no-go.
@ 2003-07-16  9:53 Matthias Andree
  2003-07-16 14:17 ` Joe Thornber
  2003-07-16 22:33 ` Tupshin Harper
  0 siblings, 2 replies; 3+ messages in thread
From: Matthias Andree @ 2003-07-16  9:53 UTC (permalink / raw)
  To: Linux-Kernel mailing list

Ok,

here's the situation:

I want to test drive 2.6, have 2.4.22-pre3-ac1 with LVM1, Device Mapper
and XFS. I tried LVM2 user space on 2.4.22, it complained about ioctl
mismatch (wants 4.x.y, gets 1.m.n). Do I need to disable LVM1?

On 2.6, lvm lvmdiskscan works, but lvm vgscan stuffs my screen with
"modprobe junk.", so I reverted to 2.4-with-LVM1-user-space for now.

Has anyone had success with running the same user-space LVM2 stuff on
2.4 and 2.6? Which versions of device-mapper and LVM2 do you use for
that purpose? What are the magic switches in Linux-2.4.22-preX-acY?

Help appreciated.

-- 
Matthias Andree

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LVM2 user space, device mapper, Linux 2.4/2.6 dual boot no-go.
  2003-07-16  9:53 LVM2 user space, device mapper, Linux 2.4/2.6 dual boot no-go Matthias Andree
@ 2003-07-16 14:17 ` Joe Thornber
  2003-07-16 22:33 ` Tupshin Harper
  1 sibling, 0 replies; 3+ messages in thread
From: Joe Thornber @ 2003-07-16 14:17 UTC (permalink / raw)
  To: Linux-Kernel mailing list

On Wed, Jul 16, 2003 at 11:53:21AM +0200, Matthias Andree wrote:
> I want to test drive 2.6, have 2.4.22-pre3-ac1 with LVM1, Device Mapper
> and XFS. I tried LVM2 user space on 2.4.22, it complained about ioctl
> mismatch (wants 4.x.y, gets 1.m.n). Do I need to disable LVM1?

The latest tools should work with both v1 and v4 ioctl interfaces,
though there will be an error message when the tools fallback from v4
to v1.

I submitted v4 patches for 2.5 last friday but sadly they haven't been
merged yet.  If you apply these patches you will have to explicitly
enable the v4 interface with 'make config'.

I run the same tools aginst 2.4.21 (v4) 2.5.75 (v1) and 2.5.75 (v4).

- Joe

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LVM2 user space, device mapper, Linux 2.4/2.6 dual boot no-go.
  2003-07-16  9:53 LVM2 user space, device mapper, Linux 2.4/2.6 dual boot no-go Matthias Andree
  2003-07-16 14:17 ` Joe Thornber
@ 2003-07-16 22:33 ` Tupshin Harper
  1 sibling, 0 replies; 3+ messages in thread
From: Tupshin Harper @ 2003-07-16 22:33 UTC (permalink / raw)
  To: Matthias Andree; +Cc: Linux-Kernel mailing list

Matthias Andree wrote:

>Ok,
>
>here's the situation:
>
>I want to test drive 2.6, have 2.4.22-pre3-ac1 with LVM1, Device Mapper
>and XFS. I tried LVM2 user space on 2.4.22, it complained about ioctl
>mismatch (wants 4.x.y, gets 1.m.n). Do I need to disable LVM1?
>
>On 2.6, lvm lvmdiskscan works, but lvm vgscan stuffs my screen with
>"modprobe junk.", so I reverted to 2.4-with-LVM1-user-space for now.
>
>Has anyone had success with running the same user-space LVM2 stuff on
>2.4 and 2.6? Which versions of device-mapper and LVM2 do you use for
>that purpose? What are the magic switches in Linux-2.4.22-preX-acY?
>
>Help appreciated.
>
>  
>
I'm running LVM2 on 2.4.21-ac4, and that works just fine for me (debian 
sid, with the lvm2 package from the distribution). While 2.5/6 is still 
too unstable for me to use for long (for unrelated reasons) , it does 
boot up correctly and function with 25 lvm2 partitions on four different 
lvm groups. I would get it working correctly on your 2.4 kernel first. 
There were not magic incantations for me...what distribution are you 
using, and where are you getting LVM2 from?

-Tupshin


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-16 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16  9:53 LVM2 user space, device mapper, Linux 2.4/2.6 dual boot no-go Matthias Andree
2003-07-16 14:17 ` Joe Thornber
2003-07-16 22:33 ` Tupshin Harper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).