[Parted-maintainers] Bug#512740: Sparc disk labels broken on LDOM and Parallel installs
Mike Grice
mgrice at plus.net
Fri Jan 23 10:02:01 UTC 2009
Package: parted
Architecture: i386
Version: 1.8.8.git.2008.03.24-11.1
Severity: grave
Tags: patch
I was exposed to this bug while trying to do a second install of
Debian into an LDOM, but its not the only way to trigger it...
Parted currently has a bug where if you try to install to more than
one disk at once (2 parallel installs), or on LDOM you try to install
more than one LDOM which has a physical disk as a backing device,
parted will trash the disk label, rendering the disk unusable until
you go and relabel it with the 'format' command in solaris.
Ubuntu got around this by applying a patch (written by David S. Miller
and Fabio M. Di Nitto who happen to do a lot of work on the sparc
Linux port). This applies cleanly against the current Lenny source
package for parted (which means that the udeb can be rebuilt and
installs will be fixed. From the patch description:
## sparc-new-label.dpatch by David S. Miller and
## Fabio M. Di Nitto <fabbione at ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix sparc disk label generation. This is required for LDOM and
## DP: parallel installations with Solaris 10.
I've attached this as it applies cleanly so there's little maintainer
work (hopefully).
I've set the severity to grave as it causes data loss on the disk
you're installing on (if youre already using some partitions on that
disk for something else). It also blocks install if its the second
disk you've installed Debian on (feel free to correct me!).
Thanks,
Mike.
More information about the Parted-maintainers
mailing list