[Bug 1276356] [NEW] partman-btrfs fails to format as btrfs filesystem

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Feb 4 22:18:10 UTC 2014


Public bug reported:

mkfs.btrfs does extra checks to see if location it's formatting appears
to contain any other filesystems.

Instead it unhelpfully prints a message to stderr:

/dev/sda6 appears to contain an existing filesystem (crypto_LUKS).
Error: Use the -f option to force overwrite.

And exits non-zero, which results in partman-btrfs to throw a generic
error of "failed to create partition". Well, if I've asked a partition
to be formatted with a given filesystem in the installer, I do want to
do that...

** Affects: partman-btrfs (Ubuntu)
     Importance: High
     Assignee: Dimitri John Ledkov (xnox)
         Status: Confirmed

** Affects: ubiquity (Ubuntu)
     Importance: High
     Assignee: Dimitri John Ledkov (xnox)
         Status: Confirmed

** Changed in: partman-btrfs (Ubuntu)
       Status: New => Confirmed

** Also affects: ubiquity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubiquity (Ubuntu)
       Status: New => Confirmed

** Changed in: partman-btrfs (Ubuntu)
   Importance: Undecided => High

** Changed in: ubiquity (Ubuntu)
   Importance: Undecided => High

** Changed in: partman-btrfs (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: ubiquity (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-btrfs in Ubuntu.
https://bugs.launchpad.net/bugs/1276356

Title:
  partman-btrfs fails to format as btrfs filesystem

Status in “partman-btrfs” package in Ubuntu:
  Confirmed
Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  mkfs.btrfs does extra checks to see if location it's formatting
  appears to contain any other filesystems.

  Instead it unhelpfully prints a message to stderr:

  /dev/sda6 appears to contain an existing filesystem (crypto_LUKS).
  Error: Use the -f option to force overwrite.

  And exits non-zero, which results in partman-btrfs to throw a generic
  error of "failed to create partition". Well, if I've asked a partition
  to be formatted with a given filesystem in the installer, I do want to
  do that...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-btrfs/+bug/1276356/+subscriptions



More information about the foundations-bugs mailing list