[prev in list] [next in list] [prev in thread] [next in thread] 

List:       evms-devel
Subject:    Re: [Evms-devel] Problem allocating lvm2 region with cli
From:       Steve Dobbelstein <steved () us ! ibm ! com>
Date:       2006-08-29 16:35:11
Message-ID: OF878A5C52.362618CD-ON052571D9.005A8DFE-052571D9.005B1CEB () us ! ibm ! com
[Download RAW message or body]

Reiner_Bielefeld@deichmann.com wrote on 08/29/2006 02:44:10 AM:

>
> Hello,
>
> we have a problem regarding lvm2 regions.
> If we specify the pvs parameter during an allocate, we get the error
> "internal error: Bad Option Descriptor returned by EVMS Engine"
> If we use the evmsgui all works fine.
> We want to create a lvm2 region on a container and want to specify
> the location.
>
> Does anyone have an idea ?
>
> Example:
>
allocate:lvm2/de_disks/Freespace,name=d112,size=128MB,stripes=1,pvs=md/md1

Hello, Reiner.

I am able to reproduce your problem.  I walked it through a debugger and
found that this is a bug in the CLI.  When the CLI tells the LVM2 plug-in
to use lvm2/de_disks/Freespace the LVM2 plug-in fills in the valid PVs in
the option descriptor and tells the CLI to reload the option descriptor.
The CLI, however, does not reload the option descriptor with the new
values.  When it then tries to set the value for the "pvs" option it is
using old data and falls through to its error path thinking there is a
problem with the option descriptor.

I'll work up a fix.  Until then, use evmsn or evmsgui.

Steve D.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic