Bug 614971 - btrfs multi-device fs causes boot fail with "mount: wrong fs type, bad option . ."
Summary: btrfs multi-device fs causes boot fail with "mount: wrong fs type, bad option...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 13
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-15 16:32 UTC by Brian
Modified: 2011-07-19 18:57 UTC (History)
2 users (show)

Fixed In Version: dracut-005-5.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-27 22:55:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian 2010-07-15 16:32:06 UTC
Description of problem:
initramfs is still not properly running btrfsctl -a <device> to import devices so that a btrfs mirror / can be mounted


Version-Release number of selected component (if applicable):
latest & greatest.  -5 I think?

How reproducible:
Is this redundant of the next question?


Steps to Reproduce:
1. Install Fedora 13 with btrfs fs on /dev/sda2 as /
2. Build & install kernel-2.6.35-0.35.rc4.git5 from SRPM from koji.
3. Reboot.
4. run:  btrfs-vol -a /dev/sdb2 /
         btrfs-vol -b /

5. Wait for finish.
6. Build & install kernel-2.6.35-0.36.rc4.git5 from koji to get new initrmfs.
7. Reboot.
  
Actual results:
mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error
In some cases useful info is found in syslog - try dmesg | tail or so

Can't mount root filesystem

Boot has failed, sleeping forever.

Expected results:
Fedoralicious blue progress bar.

Additional info:

I resisted the urge to mark this bug "Urgent" though it is from my perspective.

Can anyone please help me fix this from a rescue CD?  I can get the /boot and / to mount again, but making a new initramfs is beyond me.  I will seriously order you a reasonably priced pizza.

Comment 1 Brian 2010-07-17 01:44:31 UTC
Even after building dracut-006-02 and installing before the last reboot, I get the same result.

Comment 2 Brian 2010-07-19 19:30:16 UTC
http://happypenguins.xiao.tw/?p=142

contains instructions on a mod that gets this to work.  I haven't tried with dracut-005-3, but only with 006-2 which I built from the SRPM from koji for f14.

Also the btrfs-vol -b / step hangs on the 2.6.33 kernels that I tried.  I'd recommend going to the latest you can download and build from koji.

Comment 3 Fedora Update System 2010-09-23 15:31:55 UTC
dracut-005-4.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/dracut-005-4.fc13

Comment 4 Fedora Update System 2010-09-23 15:33:17 UTC
dracut-005-4.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/dracut-005-4.fc12

Comment 5 Fedora Update System 2010-09-24 20:38:58 UTC
dracut-005-4.fc12 has been pushed to the Fedora 12 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 dracut'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/dracut-005-4.fc12

Comment 6 Fedora Update System 2010-10-27 22:53:52 UTC
dracut-005-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-10-30 23:38:28 UTC
dracut-005-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Brian 2011-07-19 18:57:11 UTC
I apologize for not testing your updates.  After updating my system from F13 to F15, this problem came back.  Going back to the "happy penguins" link above, I was able to uninstall and reinstall the 2.6.38 kernel RPM.  Can anyone else confirm this?  Have I actually created the problem on my own system that's incompatible with dracut?


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