Bug 432812 - dmraid is unable to activate a subset
Summary: dmraid is unable to activate a subset
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: dmraid
Version: 5.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Ian Kent
QA Contact: Corey Marthaler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-14 15:55 UTC by Marco Ceci
Modified: 2009-01-20 20:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 20:47:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:0078 0 normal SHIPPED_LIVE dmraid bug fix and enhancement update 2009-01-20 16:04:15 UTC

Description Marco Ceci 2008-02-14 15:55:35 UTC
Description of problem:

dmraid is unable to activate a subset. This problem is aggravated by the fact
that dmraid returns the name of the subset instead of the name of the superset
when running the "dmraid -s -craidname" command. The output of "dmraid -s
-craidname" is also used by mkinitrd this means that the system will not be able
to activate any raid set at boot time.

Version-Release number of selected component (if applicable):

dmraid-1.0.0.rc13-6.1 with the patch to avoid the segmentation fault from BZ#427550

How reproducible:

always

Steps to Reproduce:
1. create a sparse device using dm loop and copy the metadata attached
2. 

# dmraid -s
*** Group superset .ddf1_disks
--> Active Subset
name   : ddf1_VERT02
size   : 312237824
stride : 128
type   : mirror
status : ok
subsets: 0
devs   : 1
spares : 0


3.
# /sbin/dmraid -s -craidname
ddf1_VERT02

4. #try to activate the subset
# dmraid -ay -i -p ddf1_VERT02
No RAID sets and with names: "ddf1_VERT02"

5. #using the name of the superset it works
dmraid -ay -i -p .ddf1_disks
ERROR: creating degraded mirror mapping for "ddf1_VERT02"
# the error is ok as there is only one disk in the mirror

Actual results:

an error while trying to activate a subset

Expected results:

A subset activated

Additional info:

all the metadata and information to reproduce this issue are on BZ#427550

Comment 5 RHEL Program Management 2008-06-02 20:18:22 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Tony Fu 2008-09-10 00:52:50 UTC
User mceci's account has been closed

Comment 7 Heinz Mauelshagen 2008-09-18 16:13:51 UTC
In package dmraid/1.0.0.rc13/13.el5

Comment 11 errata-xmlrpc 2009-01-20 20:47:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-0078.html


Note You need to log in before you can comment on or make changes to this bug.