<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap="">It appears that the latest dracut release "006" has implemented an attempted fix.
<a class="moz-txt-link-freetext"
 href="http://www.spinics.net/lists/linux-initramfs/msg01348.html">http://www.spinics.net/lists/linux-initramfs/msg01348.html</a>

However, when I install dracut 006-2 before installing the final kernel
and rebooting, I still get the same error.



I found this which gives instructions on how to do it with F13 beta:
<a class="moz-txt-link-freetext"
 href="http://happypenguins.xiao.tw/?p=142">http://happypenguins.xiao.tw/?p=142</a>

And only now is it able to boot with a btrfs mirrored / 


I think I had to reinstall the OS 9x to get this right --- by far the most painful install I have ever done.

Below are the instructions in case the link is deleted.  The instructions are missing the "btrfs-vol -b / "  step.  That step will hang on the 2.6.33 kernel from fedora 13, but it recovers when running again after a reboot and re-running under 2.6.35 (built from an SRPM from koji).

My Bugzilla request has yet to be answered and #dracut on Freenode was unresponsive to help requests 4x.



</pre>
<h1 class="title">Btrfs root with Multiple Devices in Fedora 13 (beta)</h1>
<div class="post-content clearfix">
<p>install via:<br>
<code><br>
linux btrfs<br>
</code><br>
update first<br>
<code><br>
yum update<br>
</code><br>
edit /etc/dracut.conf:<br>
<code><br>
add_dracutmodules="btrfs"<br>
</code><br>
edit /usr/share/dracut/modules.d/90btrfs/install:<br>
<code><br>
dracut_install btrfs<br>
inst_hook mount 90 "$moddir/scan-btrfs.sh"<br>
</code><br>
create /usr/share/dracut/modules.d/90btrfs/scan-btrfs.sh:<br>
<code><br>
#!/bin/sh<br>
if [ -n "$root" -a -z "${root%%block:*}" ]; then<br>
modprobe btrfs<br>
btrfs device scan<br>
fi<br>
</code><br>
re-generate initramfs:<br>
<code><br>
dracut -f<br>
</code><br>
Now you can add more devices to root<br>
<code><br>
btrfs-vol -a /dev/sdd /<br>
btrfs-vol -a /dev/sde /<br>
</code><br>
Reboot! You can make it!</p>
</div>
<pre wrap="">
</pre>
<br>
<br>
<br>
<br>
<br>
On 7/15/2010 10:28 PM, Brian W. Neu wrote:
<blockquote cite="mid:4C3FC3E6.3070900@advancedopen.com" type="cite">
  <pre wrap="">On a new machine, I'm installing Fedora 13 with a btrfs / .

This works fine until I try to build a RAID1 mirror because the kernel
must be notified of all devices as a scan doesn't happen automagically. 
So I see there is somehow a way to do this with dracut/initramfs, but
I'm lost on that.

Anyone have any ideas?


<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=614971">https://bugzilla.redhat.com/show_bug.cgi?id=614971</a>


_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
  </pre>
</blockquote>
</body>
</html>