Debian Bug report logs - #686097
Can't make btrfs raid1 from installer

Package: partman-btrfs; Maintainer for partman-btrfs is Debian Install System Team <[email protected]>;

Reported by: Daniel Pocock <[email protected]>

Date: Tue, 28 Aug 2012 14:12:02 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#686097: possible solution
Reply-To: Daniel Pocock <[email protected]>, [email protected]
Resent-From: Daniel Pocock <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Install System Team <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 30 Aug 2012 16:36:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 686097
X-Debian-PR-Package: partman-btrfs
X-Debian-PR-Keywords: 
X-Debian-PR-Source: partman-btrfs
Received: via spool by [email protected] id=B686097.13463444345843
          (code B ref 686097); Thu, 30 Aug 2012 16:36:01 +0000
Received: (at 686097) by bugs.debian.org; 30 Aug 2012 16:33:54 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00,FOURLA,SPF_PASS
	autolearn=no version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 130; neutral, 54; spammy,
	4. spammytokens:0.987-1--(unknown), 0.987-1--(unknown), 0.867-+--(unknown),
	0.853-+--(unknown) hammytokens:0.000-+--(unknown), 0.000-+--(unknown),
	0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown)
Received: from mail1.trendhosting.net ([195.8.117.5])
	by buxtehude.debian.org with esmtp (Exim 4.72)
	(envelope-from <[email protected]>)
	id 1T77go-0001Vj-1p
	for [email protected]; Thu, 30 Aug 2012 16:33:54 +0000
Received: from localhost (localhost [127.0.0.1])
	by mail1.trendhosting.net (Postfix) with ESMTP id 612BF15138
	for <[email protected]>; Thu, 30 Aug 2012 18:23:44 +0100 (BST)
Received: from mail1.trendhosting.net ([127.0.0.1])
	by localhost (thp003.trendhosting.net [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id eP99ERzwJG+6 for <[email protected]>;
	Thu, 30 Aug 2012 18:23:39 +0100 (BST)
Message-ID: <[email protected]>
Date: Thu, 30 Aug 2012 18:33:38 +0200
From: Daniel Pocock <[email protected]>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5
MIME-Version: 1.0
To: [email protected]
X-Enigmail-Version: 1.4.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Suggested that any enhancement to support this for wheezy must be
non-disruptive and must not require changes to any strings that would
need to be translated.

The only way I see of supporting that for wheezy is described below:



Concept:

  * user can specify two partitions with the same mount point,
    provided they are both btrfs
  * partman-btrfs will recognise this special case and assume
    that RAID1 is desired
  * due to the requirement to avoid changing any text strings,
    this will happen silently and the user will not be
    prompted to choose RAID level or other possible choices
  * if filesystems are not btrfs, the normal error will appear


package partman-target
----------------------

  check.d/
    proper_mountpoints
    duplicate_labels
        same_mountpoint and same_label errors must be suppressed when
        this special case is detected

package partman-btrfs
---------------------

  commit.d/
    format_btrfs
        * must do a pre-screening of all filesystem specs
          and identify those that need RAID
        * format the normal filesystems first, and the RAID ones in a
          second pass

  fstab.d/
    btrfs
        * must do a pre-screening of all filesystem specs
          and identify those that need RAID
        * output the normal filesystems first
        * for the RAID filesystems, must mount by UUID= syntax
          (due to bug #612402)
          http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612402
        * one possible technique is to just check UUID of each
          filesystem, and parse the resulting fstab output via uniq

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 14:23:30 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.