From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f196.google.com ([209.85.213.196]:32927 "EHLO mail-ig0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbcDRPwa (ORCPT ); Mon, 18 Apr 2016 11:52:30 -0400 Received: by mail-ig0-f196.google.com with SMTP id g8so11452970igr.0 for ; Mon, 18 Apr 2016 08:52:30 -0700 (PDT) Subject: Re: Install to or Recover RAID Array Subvolume Root? To: Chris Murphy References: <5714D39B.90402@gmail.com> <5714FA2F.6010207@gmail.com> Cc: David Alcorn , Btrfs BTRFS From: "Austin S. Hemmelgarn" Message-ID: <571502B4.2050401@gmail.com> Date: Mon, 18 Apr 2016 11:52:20 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 2016-04-18 11:39, Chris Murphy wrote: > On Mon, Apr 18, 2016 at 9:15 AM, Austin S. Hemmelgarn > wrote: >> >>> >> I don't know about the current state of the Debian installer, but I know >> back when I used Debian regularly and used the standard text based >> installer, as long as I didn't format things from the UI, I could provision >> the filesystems however the hell I wanted manually and point the installer >> at the appropriate ones for each mount point, and it worked. > > No doubt this is a catch 22. I think it's reasonable for an installer > to have an aging logic that allows it to be more conservative than the > kernel's support for compat_ro_flags and incompat_flags, and refuse to > install if it's not recently formatted. > > Now that I go look for this, I'm not sure what either flags offset > 0x38 or compat_flags offset 0xac are about. > > Also, I didn't mention that Anaconda does require root fs to be in a > new subvolume. It won't install to either subvolid 5, or any other > existing subvolume. > I'm not certain about how Debian would handle it, but I think they'll assume that the user knows what they're doing and just do what they say (which can admittedly be a very dangerous assumption sometimes). Like I said in one of my earlier e-mails though, these kind of limitations are part of why I switched to Gentoo, there's no GUI installer, but you can put the system together however the hell you want (which is especially nice with BTRFS, because none of the installers out there will let you use BTRFS on top of LVM, which is useful for things like BTRFS raid1 on top of DM-RAID0).