Bug 216360 - mdadm raid assemble fails using FC6 "linux rescue"
Summary: mdadm raid assemble fails using FC6 "linux rescue"
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 6
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Doug Ledford
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-19 22:16 UTC by Donavan Kienenberger
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-03 19:59:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Donavan Kienenberger 2006-11-19 22:16:06 UTC
Description of problem:

Using the FC6 install DVD in "linux rescue" mode, after successfully creating a raid 1 array with a 
missing device using mdadm command and a single disk,  when you reboot and try to assemble the 
array,  mdadm is unable to find a device and fails to assemble the array when using the FC6 DVD.  The 
devices superblock can be printed using mdadm's examine command. The device is listed as state: 
active, checksum: correct.

mdadm -A /dev/md0 /dev/hda1
mdadm: no devices found for /dev/md0

Booting off a FC4 or FC5 "linux rescue" cd  and assembling the raid 1 array will work fine.

Version-Release number of selected component (if applicable):
mdadm - v2.5.4 - 13 October 2006

How reproducible:
Every time.

Steps to Reproduce:
1. Install a blank hard drive, using FC6 "linux rescue" to the command prompt
2. fdisk /dev/hda
3. n
4. p
5. 1
6. <return>
7. <return>
8. t
9. 1
10. fd
11. w
12. mdadm -C -v /dev/md0 -l 1 -n 2 missing /dev/hda1
13. Standard verification checks:
  mdadm -E /dev/hda1
  mdadm -D /dev/md0
  cat /proc/mdstat 
14. exit (To Reboot) using FC6 "linux rescue" to the command prompt
15. mdadm -A /dev/md0 /dev/hda1

Results:
mdadm: no devices found for /dev/md0

16. exit (To Boot) using FC4 or FC5 "linux rescue" to the command prompt
17. mdadm -A /dev/md0 /dev/hda1

Results: 
mdadm: /dev/md0 has been started with 1 drive (out of 2)
  
Actual results:
mdadm: no devices found for /dev/md0

Expected results:
mdadm: /dev/md0 has been started with 1 drive (out of 2)

Additional info:

Comment 1 Doug Ledford 2007-07-03 19:58:47 UTC
I'm pushing an mdadm update that should solve this issue as far as mdadm goes
(my testing indicates it does), but that doesn't get the update onto the rescue
CD.  I suspect that this bug can simply be closed as CANTFIX unless there are
plans to spin new isos.


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