GNU bug report logs - #36853
mklabel does not clear mdraid version 0.90 metadata

Previous Next

Package: parted;

Reported by: Michael Hudson-Doyle <michael.hudson <at> canonical.com>

Date: Tue, 30 Jul 2019 09:37:02 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 36853-done <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: Michael Hudson-Doyle <michael.hudson <at> canonical.com>
Cc: 36853-done <at> debbugs.gnu.org
Subject: Re: bug#36853: mklabel does not clear mdraid version 0.90 metadata
Date: Tue, 30 Jul 2019 10:29:48 -0700
On Tue, Jul 30, 2019 at 09:19:49PM +1200, Michael Hudson-Doyle wrote:
> Chasing down a bug report
> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1828558 where
> installing over a device previously used in a RAID array, I found that
> parted's mklabel does not erase mdraid metadata 0.90 metadata (and only
> that version). Here's my test script

This is working as expected, parted tries not to touch more than it
needs to and this situation will often come up when you re-partition a
disk using the same values as a previous installation. You need to use
something like wipefs on the disk before creating the new partitions.

Thanks,

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted




This bug report was last modified 5 years and 296 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.