Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] EVMS does not work with 2.6.xx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Feb 07, 2004 1:18 pm    Post subject: [solved] EVMS does not work with 2.6.xx Reply with quote

I have tried 4 or 5 times, but I wasn't able to get EVMS to work in LVM compatibity mode when using the 2.6 series.

It works with my 2.4.22 patched kernel, and I followed the directions at http://evms.sourceforge.net/install/kernel.html but when I boot, I get no /dev/evms/lvm directory.

I have tried 2.6.0, some mm-sources (including 2.6.2rc) and also 2.6.2 and 2.6.2-gentoo.

Does anyone has any tip?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin


Last edited by pilla on Sun Feb 08, 2004 5:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sun Feb 08, 2004 5:37 pm    Post subject: Reply with quote

Solved, forgot to apply the bd_claim.patch

http://evms.sourceforge.net/install/kernel.html

EVMS Install Guide wrote:

BD-Claim Patch

The 2.6 kernels now prevent multiple "owners" of a block-device. This means that the stock kernel will not allow you to mount a filesystem on a kernel-provided disk-partition as well as use EVMS to activate volumes on that disk.

There are three possible solutions to this problem.

* Switch to using EVMS for ALL your volumes and partitions, and simply don't use the disk-partitions provided by the kernel. This is, of course, the preferred solution, but also requires some extra work on your part to convert to mounting your root filesystem using an EVMS volume.

* Tell EVMS to exclude any disks that contain partitions that you are going to mount through the kernel-provided-partitions. You can do this by adding an entry to the "exclude" line in your /etc/evms.conf file.

* Apply this patch, which will revert the change that disallows EVMS to use the disk at the same time the kernel-partitions are.

patch -p1 < /usr/src/evms-2.2.2/kernel/2.6/bd-claim.patch

This problem does not exist on 2.4 kernels.

_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Sun Feb 08, 2004 5:42 pm    Post subject: Reply with quote

Do you know if the lvm2 user tools still work fine with an EVMS patched 2.6 kernel?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sun Feb 08, 2004 6:05 pm    Post subject: Reply with quote

asimon wrote:
Do you know if the lvm2 user tools still work fine with an EVMS patched 2.6 kernel?


I don't know, but the only patch that I have applied was that bd_claim.patch. All the rest of it was just the regular gentoo-dev-sources.

It should work. at least that patch does not claim to break LVM2 (as a mater of fact, it is a patch to recover from another patch that breaks things for EVMS, but it is not stated there that it's necessary for LVM2).

Give it a try, in the worst case you can go back to a previous, working kernel image.

[edit] cool, this was my 4000th post.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum