Re: booting from BTRFS works only with one device in the pool

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

 



On Tue, Feb 2, 2016 at 3:01 PM, Hendrik Friedel <hendrik@xxxxxxxxxxxxx> wrote:
> Hello Hugo,
>
>>> Here I am stuck in a recovery prompt.
>>
>>     By far the simplest and most reliable method of doing this is to
>> use an initramfs with the command "btrfs dev scan" in it somewhere
>> before mounting. Most of the major distributions already have an
>> initramfs set up (as does yours, I see), and will install the correct
>> commands in the initramfs if you install the btrfs-progs package
>> (btrfs-tools in Debian derivatives).
>>
> I would like to go the sensible way :-)
> But can you hint me how and where to add the btrfs device scan option to the
> initramfs?

If btrfs-progs 4.3.1 is installed already, dracut -f will rebuild the
initramfs and should just drag in current tools which will include
'btrfs device scan'.

-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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