Bug 981824 - fedup upgrade does not boot if root is an MD RAID partition
fedup upgrade does not boot if root is an MD RAID partition
Status: CLOSED DUPLICATE of bug 970580
Product: Fedora
Classification: Fedora
Component: fedup-dracut (Show other bugs)
18
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Will Woods
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-05 22:46 EDT by Alex G.
Modified: 2013-07-08 12:41 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-08 12:41:42 EDT
Type: Bug
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 Alex G. 2013-07-05 22:46:49 EDT
Description of problem:
[21:38] <mrnuke> the fedup boot couldn't find my root partition as mdadm did not automatically scan/assembled it
[21:38] <mrnuke> when I told mdadm to scan and assembled, I couldn't tell which of my arrays was the one with root
[21:39] <mrnuke> and as most tools are unavailable in initramfs, I was stuck
[21:39] <mrnuke> no way to check
[21:39] <mrnuke> reboot with Ctrl-Alt-Del, and the fedup option is gone from the boot screen

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

How reproducible:
Only tried once

Steps to Reproduce:
1. fedup --network 19
2. reboot
3. select fedup
4. wait until dracut realizes it cannot boot and drops you to a shell

Actual results:
See above

Expected results:
I win the lottery.

Additional info:
root "/" partition is on an MD RAID array.
Comment 1 Roderick Taylor 2013-07-06 08:11:51 EDT
I also ran into this problem.

At the rescue console, I did the following to kick it back into gear:

1. My mdadm.conf was there in the initramfs. I inspected that to see what arrays were available with "cat /etc/mdadm.conf". 
2. For each of the listed /dev/mdn devices I did "mdadm --assemble /dev/mdn"
3. I then restarted systemd with "kill 1"
4. It continued with the upgrade until it said it was restarting the computer but it got stuck there.  I had to pull the power to restart it.

After reboot the new initramfs automatically assembled my arrays and it all seems to "work".  

For my upgrade attempt, the kernel parameters in grub for the "System Upgrade (fedup)" boot option included root=/dev/md1. This was set by fedup before reboot and was correct.
Comment 2 Michael Chapman 2013-07-07 08:54:44 EDT
I can confirm the behaviour described in the first comment.

I found that:

# mdadm --assemble --scan
# exit

was sufficient to continue booting.
Comment 3 Will Woods 2013-07-08 12:41:42 EDT

*** This bug has been marked as a duplicate of bug 970580 ***

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