Re: cannot mount btrfs as root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 September 2018 at 08:20, Zbigniew 'zibi' Jarosik <zibi@xxxxxxx> wrote:
> On 19 September 2018 at 15:54, Qu Wenruo <quwenruo.btrfs@xxxxxxx> wrote:
>>
>> Does the iniramfs do a "btrfs dev scan" to make populate btrfs devices
>> lists?
>
> This solved problem. Looks like btrfs scans disks to early, before
> bcache initializes. I need to debug initrfamfs scripts.

There is race condition - bcache initalizes slower than expected, so
btrfs cannot find devices, because they are not ready.

rootdelay=10 in grub solved problem temporary, need to write
boot-script that will handle it and wait until bcache devices will be
ready to use.


-- 
Zbigniew 'zibi' Jarosik
cell: +48 667956686
jid: tapiau@xxxxxxxxx
gg: 2830
http://zibi.nora.pl/



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux