On Wed, Jul 29, 2015 at 12:53 PM, Bruce Schultz <brul...@gmail.com> wrote:
> On 29 July 2015 6:18:43 AM AEST, Neil Bothwick <n...@digimed.co.uk> wrote:
>> On Wed, 29 Jul 2015 05:29:18 +1000, Bruce Schultz wrote:
>>> But I think you do if your btrfs is raid 1. The kernel can't mount
>>> multidisk btrfs until it done a btrfs device scan in userspace, run
>>> from initramfs.
>>
>> According to the btrfs wiki you can pass
>> device=/dev/sda1,device=/dev/sdb1 on the kernel boot line.
>
> I'd forgotten that option. Btrfs wiki also says this though:
>
> "Using device is not recommended, as it is sensitive to device names
> changing. You should really be using a initramfs. Most modern distributions
> will do this for you automatically if you install their own btrfs-progs
> package."

I was wondering if *anyone* has actually seen this work. I'm referring to
booting a raid1 btrfs volume without performing a user-space device scan,
using only the kernel `rootflags=device` setting. I have been struggling with
this in various settings and am slowly starting to believe that this scenario
is simply broken.

Reply via email to