From: NeilBrown <neilb@suse.de>
To: Matthew Gabeler-Lee <cheetah@fastcat.org>
Cc: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>,
597563@bugs.debian.org, linux-raid@vger.kernel.org
Subject: Re: Bug#597563: grub-common: grub-probe segfaults scanning lvm devices
Date: Mon, 10 Jan 2011 09:29:17 +1100 [thread overview]
Message-ID: <20110110092917.6c230326@notabene.brown> (raw)
In-Reply-To: <4D2A32F6.4050304@fastcat.org>
On Sun, 09 Jan 2011 17:13:10 -0500 Matthew Gabeler-Lee <cheetah@fastcat.org>
wrote:
> On 1/9/2011 16:57, NeilBrown wrote:
> > Simply running
> > mdadm --zero-superblock /dev/sdb
> >
> > should fix it.
> Well, that doesn't work very well: "mdadm: Couldn't open /dev/sdb for write
> - not zeroing" ... strace reveals that mdadm is trying to open it O_EXCL,
> which I presume is why it's not working ... I presume I'd have to reboot to
> single user mode and stop the LVM and possibly MD stuff in order for that to
> work, which might then require booting from a rescue cd to do it.
Sorry, I forgot that the device would be in use.
In that case
mdadm --zero-superblock --force /dev/sdb
would have done the trick. But you found another way which worked just as
well.
NeilBrown
prev parent reply other threads:[~2011-01-09 22:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100920202854.27101.8288.reportbug@cheetah.fastcat.org>
[not found] ` <4D274FF9.8010004@gmail.com>
[not found] ` <alpine.DEB.2.00.1101072241560.25170@cheetah.fastcat.org>
2011-01-08 12:41 ` Bug#597563: grub-common: grub-probe segfaults scanning lvm devices Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-08 22:53 ` Matthew Gabeler-Lee
2011-01-08 23:34 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-08 23:38 ` Matthew Gabeler-Lee
2011-01-08 23:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-09 3:09 ` Matthew Gabeler-Lee
2011-01-09 20:55 ` NeilBrown
2011-01-09 21:32 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-09 21:57 ` NeilBrown
2011-01-09 22:13 ` Matthew Gabeler-Lee
2011-01-09 22:29 ` NeilBrown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110110092917.6c230326@notabene.brown \
--to=neilb@suse.de \
--cc=597563@bugs.debian.org \
--cc=cheetah@fastcat.org \
--cc=linux-raid@vger.kernel.org \
--cc=phcoder@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).