Bug#548883: mdadm: please fix functionality to remove RAID superblocks from drives
martin f krafft
madduck at debian.org
Wed Sep 30 11:29:27 UTC 2009
also sprach Toni Mueller <support at oeko.net> [2009.09.29.1327 +0200]:
> I repeatedly run into trouble trying to nuke ill-configured drives to
> make them usable again (lest these bogus RAIDs show up eg. in d-i and
> prevent me from properly configuring the drives).
>
> I am already aware of 'mdadm --zero-superblock' and friends, but have to
> note that these just don't work. Eg. I was unable to use this command
> from a shell, spawned from d-i, to remove bogus RAID0 superblocks from
> the drives.
>
> I got error messages like this:
>
> ~ # mdadm --zero-superblock --force /dev/sda
> mdadm: Couldn't open /dev/sda for write - not zeroing
So /dev/sda is being used by e.g. LVM or something similar, and
mdadm cannot open it exclusively. I think this was recently fixed
upstream, but I am not sure. There's also another bug on this, but
I am too swamped to check right now.
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20090930/454c06aa/attachment.pgp>
More information about the pkg-mdadm-devel
mailing list