Bug 104046

Summary: evmsgui crashes creating a new container
Product: [openSUSE] SUSE LINUX 10.0 Reporter: enno oosterhuis <e.oosterhuis>
Component: BasesystemAssignee: Lars Marowsky-Bree <lmb>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: 32bit   
OS: All   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: evm patch.

Description enno oosterhuis 2005-08-11 08:45:25 UTC
I want to use the evms snapshot feature. To do this I Installed Opensuse in an 
LVM "partition". I left 1 Gig space free. ( in this LVM "partition" ). 
 
After installing I started the evmsgui, and changed the "Freespace" in a 
container called snap. When trying to save ( pressing the "save" button) the 
program crashes without making the changes. 
 
I solved the problem by upgrading to evms version 2.5.3, ( I compiled the 
sources ). And I patched the kernel with the patches from evms version 2.5.3. 
Patching the kernel left me with ./drivers/md/Kconfig.rej. This change the 
config BLK_DEV_DM_BBR I did by hand. 
 
Compiling evms gave one problem I could not find the gtk-devel package. I used 
the on from Suse 9.3. 
 
The new version now does work, and I can mount a snapshot from my root 
filesystem. 
 
Greetings, 
 
Enno Oosterhuis
Comment 1 Danny Al-Gaaf 2005-08-11 10:31:25 UTC
please report bugs against openSUSE to SUSE 10.0 as product! (see: http://www.
opensuse.org/index.php/Submit_a_bug)
Comment 2 Thomas Fehr 2005-08-11 10:55:47 UTC
I updated the EVMS package in SUSE 10.0 also to version 2.5.3 .
Comment 3 enno oosterhuis 2005-08-11 14:47:00 UTC
Hallo, 
 
The kernel patches are needed also, it is not just the version of evms 
 
Enno Oosterhuis 
Comment 4 Thomas Fehr 2005-08-11 15:07:46 UTC
reassigned to kernel maintainer
Comment 5 Hubert Mantel 2005-08-12 10:12:43 UTC
1. IMHO this is a feature request that comes after feature freeze
2. Where can I find the kernel patches?
3. Isn't evms deprecated anyway as we're using dm now?
4. Starting monday, I'm on vacation. So if the product management decides to
accept this new feature request at this time, somebody else will need to do it.
Comment 6 Andreas Jaeger 2005-08-12 10:41:21 UTC
Chris can you decide what'S best here?  I would allow the inclusion.

Enno, could you attach the patch, please?
Comment 7 Chris L Mason 2005-08-12 13:48:23 UTC
EVMS is mostly in userland now that it is based on dm.  It should be sufficient to update 
the evms userland.  Lars, do we need additonal evms patches? 
Comment 8 Lars Marowsky-Bree 2005-08-13 09:06:48 UTC
Good question, I'm not tracking EVMS2 kernel patches but instead assume they're
submitting upstream.

Enno, please attach the minimal patch which you need, so we can review it more
easily. Thanks!
Comment 9 enno oosterhuis 2005-08-15 07:00:47 UTC
Created attachment 46014 [details]
evm patch.

bd-claim.patch:
	Patch to allow EVMS to activate volumes on disks that also contain
	mounted kernel-partitions. See the comments in the patch file for
	more details.
Comment 10 Lars Marowsky-Bree 2005-08-15 10:49:47 UTC
Thanks.

I'd like the patch in comment #9 to be discussed upstream on the dm-devel list
prior to inclusion into our kernel, if possible. I'll post it to the list again
and then we'll see how the discussion goes...

Not sure why this is reassigned to Werner. ;-)

Chris, this might be something for Neil too.
Comment 11 Lars Marowsky-Bree 2005-08-15 15:10:16 UTC
Here's the answer from Kevin Corry on dm-devel:

---
I'm going to say that you probably don't want to add that patch to the 
standard kernel for openSUSE. It removes functionality that was specifically 
added to the kernel a couple years ago, and there's pretty much no way that 
patch will be picked up for mainline. We still provide that patch with the 
EVMS source code, but I've been trying to get people to move away from using 
it whenever possible.

As for mixing EVMS and "regular mounts" on the same disk, I generally advise 
against that. EVMS is perfectly capable of handling disk partitioning using 
Device-Mapper, and provides features that aren't possible using the kernel's 
built-in partitions (e.g. online resize and moving of partitions, taking 
snapshots of partitions).

If openSUSE provides a way for users to create their volumes with EVMS (at the 
very least creating DOS partitions, Software-RAID devices, and LVM volumes) 
and install directly to those volumes, there shouldn't be a need to use the 
bd-claim patch.
---

So no, we don't want to take this patch for openSUSE at least not right now,
unless upstream devises a new way of dealing with this issue.