linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>,
	linux-btrfs@vger.kernel.org
Subject: btrfs trim erases bootloader area
Date: Thu, 7 Jan 2016 22:11:43 +0300	[thread overview]
Message-ID: <568EB86F.7070800@gmail.com> (raw)

As discussed on opensuse-factory list, running fstrim on btrfs erases
bootloader area, rendering system unbootable. See

https://lists.opensuse.org/opensuse-factory/2016-01/msg00067.html
https://lists.opensuse.org/opensuse-factory/2016-01/msg00090.html

and follow-ups that demonstrate that beginning of device gets zeroed out.

Not sure what we can do, but from GRUB side I can only see disabling
embedding support on btrfs entirely.



             reply	other threads:[~2016-01-07 19:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07 19:11 Andrei Borzenkov [this message]
2016-01-07 19:16 ` btrfs trim erases bootloader area Filipe Manana
2016-01-07 22:05   ` Chris Murphy
2016-01-07 23:10     ` Filipe Manana
2016-01-07 23:39       ` Chris Murphy
2016-01-08  1:44       ` Christoph Anton Mitterer
2016-01-08  6:36         ` Andrei Borzenkov
2016-01-07 19:19 ` Holger Hoffstätte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=568EB86F.7070800@gmail.com \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).