From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aHIbJ-0006TM-KA for mharc-grub-devel@gnu.org; Thu, 07 Jan 2016 17:00:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHG5X-0007fA-NH for grub-devel@gnu.org; Thu, 07 Jan 2016 14:19:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHG5S-0002GQ-LI for grub-devel@gnu.org; Thu, 07 Jan 2016 14:19:11 -0500 Received: from mail02.iobjects.de ([188.40.134.68]:47652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHG5S-0002EQ-Fe for grub-devel@gnu.org; Thu, 07 Jan 2016 14:19:06 -0500 Received: from tux.wizards.de (pD953E664.dip0.t-ipconnect.de [217.83.230.100]) by mail02.iobjects.de (Postfix) with ESMTPSA id 8A6574160151; Thu, 7 Jan 2016 20:19:00 +0100 (CET) Received: from [192.168.100.223] (ragnarok [192.168.100.223]) by tux.wizards.de (Postfix) with ESMTP id 22F1711C0066; Thu, 7 Jan 2016 20:19:00 +0100 (CET) Subject: Re: btrfs trim erases bootloader area To: Andrei Borzenkov , The development of GNU GRUB , linux-btrfs@vger.kernel.org References: <568EB86F.7070800@gmail.com> From: =?UTF-8?Q?Holger_Hoffst=c3=a4tte?= Organization: Applied Asynchrony, Inc. Message-ID: <568EBA24.6030700@googlemail.com> Date: Thu, 7 Jan 2016 20:19:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <568EB86F.7070800@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 188.40.134.68 X-Mailman-Approved-At: Thu, 07 Jan 2016 17:00:08 -0500 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 19:19:13 -0000 On 01/07/16 20:11, Andrei Borzenkov wrote: > 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. Since you're probably not on the btrfs list and missed it earlier today: http://www.spinics.net/lists/linux-btrfs/msg50860.html -h