[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot boot with BTRFS in degraded mode
From: |
Maxim Cournoyer |
Subject: |
Re: cannot boot with BTRFS in degraded mode |
Date: |
Fri, 06 Sep 2019 10:00:49 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello Giovanni!
Giovanni Biscuolo <address@hidden> writes:
[...]
> [...] all I need to boot is entering the grub editing mode, boot
> degraded and solve the problem with "btrfs replace..." and "btrfs
> balance..."
>
> I was thinking to permanently add "rootflags=[...],degraded" as kernel
> parameter but reading the message I mentioned above:
>
> Altho if it is indeed true that btrfs will now refuse to mount writable
> if it's degraded like that, that's not such a huge issue either, as the
> read-only mount can serve as the same warning. Still, I certainly prefer
> the refusal to mount entirely without the degraded option, if indeed the
> filesystem is lacking a component device. There's nothing quite like
> forcing me to actually type in "rootflags=degraded" to rub my face in the
> reality and gravity of the situation I'm in! =:^)
>
> I changed my mind: booting in degraded mode should be done "manually"
> just to solve the issue :-)
Also note that for the time being, the init script of Guix doesn't honor
the "rootflags" kernel argument.
The good news is that there is a patch awaiting testing/review that adds
support for it here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37305.
Cheers,
Maxim