RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 906464 - dracut unable to boot from a degraded raid1 array unless it is run one time from hand
Summary: dracut unable to boot from a degraded raid1 array unless it is run one time f...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: dracut
Version: 6.3
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Harald Hoyer
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-31 16:51 UTC by Stephan Sachse
Modified: 2013-04-02 07:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-02 07:08:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
failed boot w/ rdshell rdinitdebug rdudevinfo (624.86 KB, text/plain)
2013-01-31 16:51 UTC, Stephan Sachse
no flags Details
successfully boot w/ rdshell rdinitdebug rdudevinfo (641.56 KB, text/plain)
2013-01-31 16:52 UTC, Stephan Sachse
no flags Details
Patch in upcoming dracut in RHEL-6.4 (1.83 KB, patch)
2013-02-11 11:41 UTC, Harald Hoyer
no flags Details | Diff

Description Stephan Sachse 2013-01-31 16:51:02 UTC
Created attachment 691082 [details]
failed boot w/ rdshell rdinitdebug rdudevinfo

Description of problem:
dracut is unable to boot from a degraded raid1 array unless it is run one time by hand. after that it can boot fine from a degraded array.

Version-Release number of selected component (if applicable):
dracut-004-284.el6_3.1.noarch

How reproducible:
always

Steps to Reproduce:
1.) setup 3x raid1 of 2 discs, md0:/boot md1:swap md2:/
2.) install system
3.) unplug sdb and power on the system
4.) add rdshell to grub cmd
5.) drop in the rdshell, all md devices are inactive
6.) run mdadm --run /dev/md0, mdadm --run /dev/md1, mdadm --run /dev/md2
7.) now all md devices are active and degraded
8.) exit -> can not find root device
9.) exit -> boots fine
10.) after the system boots up, login and reboot again
11.) works now without rdshell
  
Actual results:
all raid devices are inactive on rdshell

Expected results:
active all raid devices as degraded and boot the system

Additional info:
it only works if the raid ist assembled and run one time from hand. wherever you do that. in the rdshell or with a live cd. for me it looks like mdraid_start.sh ist never run.

Comment 2 Stephan Sachse 2013-01-31 16:52:57 UTC
Created attachment 691083 [details]
successfully boot w/ rdshell rdinitdebug rdudevinfo

after assemble and run the array one time by hand, all works fine again

Comment 3 RHEL Program Management 2013-02-04 06:47:38 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Harald Hoyer 2013-02-11 11:41:40 UTC
Created attachment 696037 [details]
Patch in upcoming dracut in RHEL-6.4

dracut for RHEL-6.4 will have the follwing patch, which should resolve the issue.

Comment 5 Stephan Sachse 2013-02-11 15:00:51 UTC
my 65-md-incremental-imsm.rules looks already like this. if i try to apply this patch:

  patching file modules.d/90mdraid/65-md-incremental-imsm.rules
  Reversed (or previously applied) patch detected!  Assume -R? [n]

# rpm -q dracut
dracut-004-284.el6_3.1.noarch

"rpm -V dracut" is silent.

Comment 6 Harald Hoyer 2013-02-12 09:25:56 UTC
Oh.. what is your kernel command line?

Comment 7 Harald Hoyer 2013-02-12 09:28:52 UTC
Looks like you set "root=/dev/md2", which explains why dracut stops assembling, as soon, as /dev/md2 is available (although not accessible).

You really should set "root=LABEL=<fslabel>" or "root=UUID=<fsuuid>".

Comment 8 Stephan Sachse 2013-02-12 16:46:48 UTC
ok, works fine now. i've tested both LABEL= and UUID=

thanks and sorry for the noise


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