Bug 452459 - RAID1 md0 /boot Array Fails to Run Degraded
RAID1 md0 /boot Array Fails to Run Degraded
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: mdadm (Show other bugs)
9
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Doug Ledford
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-23 00:48 EDT by Michael Chinn
Modified: 2008-11-19 09:47 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-11-19 09:47:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Chinn 2008-06-23 00:48:35 EDT
Description of problem:

On a system with md0 mounted as /boot, system boots into maintenance shell if
the RAID1 md0 array is degraded (e.g., secondary disk is blank).

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

mdadm-2.6.4-4.fc9.x86_64

How reproducible:

Every time.

Steps to Reproduce:
1. Install Fedora 9 from DVD, manually partitioning disks to create /boot, swap,
and / as RAID1 md0, md1, md2 with two partitions in each array.  Manually run
grub, etc. to make both disks bootable.

2. Secondary disk "fails", system is taken down and a blank disk is installed as
secondary.

3. System drops into maintenance shell on boot with md1 and md2 running but md0
stopped.  Must manually start md0 with "mdadm --assemble --run /dev/md0
/dev/sda1" to continue.  Must partition secondary disk and remirror to allow
successful booting.

Actual results:

Maintenance shell with md0 stopped.

Expected results:

Booting normally.

Additional info:

Based on notes in Bug #447818 discussing issues with "mdadm --incremental", I
added "--run" to the "mdadm --incremental" command in
/etc/udev/rules.d/70-mdadm.rules, fixing the problem.  I'm now able to boot with
md0 degraded.
Comment 1 Doug Ledford 2008-06-26 19:55:39 EDT
I added the --run option to the rule in the next build.
Comment 2 Fedora Update System 2008-06-26 20:07:22 EDT
mdadm-2.6.7-1.fc9 has been submitted as an update for Fedora 9
Comment 3 Fedora Update System 2008-06-28 18:15:33 EDT
mdadm-2.6.7-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mdadm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5804
Comment 4 Michael Chinn 2008-06-29 15:31:04 EDT
The "--run" added in mdadm-2.6.7-1.fc9 fixes this issue.  I duplicated my
initial test setup and was able to boot with the md0 array degraded.  Thanks.
Comment 5 Fedora Update System 2008-10-30 09:55:09 EDT
mdadm-2.6.7.1-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/mdadm-2.6.7.1-1.fc9
Comment 6 Fedora Update System 2008-10-31 06:26:12 EDT
mdadm-2.6.7.1-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mdadm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9325
Comment 7 Michael Chinn 2008-11-03 11:03:23 EST
mdadm-2.6.7.1-1.fc9 fixes this issue even without a "--run" argument, presumably through updates to "--incremental".  I was able to properly boot with a blank secondary.  Note that the emails sent by the buzilla should be updated to mention that the repository is now "updates-testing-newkey".  Thanks.
Comment 8 Fedora Update System 2008-11-19 09:47:32 EST
mdadm-2.6.7.1-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

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