Bug 174559 - Enhancement+Patch: Use mdadm with mkinitrd
Summary: Enhancement+Patch: Use mdadm with mkinitrd
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-30 01:46 UTC by Gabriel Schulhof
Modified: 2008-03-10 01:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-10 01:11:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to modify mkinitrd to use mdadm (1.12 KB, patch)
2005-11-30 01:48 UTC, Gabriel Schulhof
no flags Details | Diff

Description Gabriel Schulhof 2005-11-30 01:46:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.12) Gecko/20050929

Description of problem:
This patch causes mkinitrd to add mdadm.static to <initrd>/bin and to have <initrd>/init run mdadm instead of raid0run.

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


How reproducible:
Always

Steps to Reproduce:
1. The initrd doesn't work with RAID1.
2. Patch mkinitrd to use mdadm
3. mkinitrd produces a working initrd.
  

Additional info:

Comment 1 Gabriel Schulhof 2005-11-30 01:48:44 UTC
Created attachment 121621 [details]
Patch to modify mkinitrd to use mdadm

Comment 2 Gabriel Schulhof 2005-11-30 01:51:21 UTC
s/raid0run/raidautorun/

Comment 3 Peter Jones 2006-02-03 23:13:22 UTC
What do you mean by "the initrd doesn't work with RAID1"?  It works fine for me
with raid 1.

Even so, why would we want to add a 700k binary to the initrd as the "solution"?

Comment 4 Gabriel Schulhof 2006-02-04 03:45:43 UTC
Well, I tried it with RAID1 and it didn't work until I changed the script to use
mdadm.

You would add a 700k binary because, AFAIK, the tools it currently uses are
deprecated. mdadm is the new standard. Also, mdadm doesn't depend on the RAID
members being detected. They are specified on the command line. Of course I
recognize the flip-side, which is that the mkinitrd won't know how to wake up in
a modified RAID environment.

Comment 5 petrosyan 2008-03-10 01:11:31 UTC
Fedora Core 4 is no longer maintained.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.


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