linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Debian Jessie: How to set rootflags=degraded
@ 2016-08-16 19:31 Hendrik Friedel
  2016-08-16 19:39 ` Chris Murphy
  0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Friedel @ 2016-08-16 19:31 UTC (permalink / raw)
  To: Btrfs BTRFS

Hello,

I am using a raid1 under debian Jessie, because I need to decrease the 
likelyhood of unavailability of the system.
Unfortunately I found, that when removing one of the drives, the system 
will not boot up. Instead initramfs will show up and tell me that the 
root volume could not be mounted.

I read here:
https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg31265.html
that adding rootflags=degraded.

Furthermore I see that this is not yet default -at least in Ubuntu-
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1229456?comments=all

But that it should work by modifying /etc/grub.d/10_linux:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1229456/comments/3
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol},degraded 
${GRUB_CMDLINE_LINUX}"

when doing that and running grub-mkconfig and update-grub, I still get 
no entry with with "degraded" in /etc/grub.cfg.

Can someone tell me, how to achieve this? I've been seaching for very 
long now and I am surprised, that I don't find any answer.

Greetings,
Hendrik


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-16 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 19:31 Debian Jessie: How to set rootflags=degraded Hendrik Friedel
2016-08-16 19:39 ` Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).