From: David Greaves <david@dgreaves.com>
To: linux-raid@vger.kernel.org
Cc: Neil Brown <neilb@suse.de>
Subject: Re: md reports: unknown partition table - fixed.
Date: Tue, 18 Jul 2006 19:37:46 +0100 [thread overview]
Message-ID: <44BD2A7A.5040906@dgreaves.com> (raw)
In-Reply-To: <44BD0FC3.3010304@dgreaves.com>
David Greaves wrote:
> Hi
>
> After a powercut I'm trying to mount an array and failing :(
A reboot after tidying up /dev/ fixed it.
The first time through I'd forgotten to update the boot scripts and they
were assembling the wrong UUID. That was fine; I realised this and ran
the manual assemble:
mdadm --assemble /dev/media /dev/sd[bcdef]1
dmesg
cat /proc/mdstat
All OK (but I'd forgotten that this was a partitioned array). I suspect
the device entries for /dev/media[1234] from last time were hanging about.
mount /media
fdisk /dev/media
So I guess this fails because the major-minor are for a non-p md device?
mdadm --assemble /dev/media --auto=p /dev/sd[bcdef]1
mdadm --stop /dev/media
This fails because I'm on mdadm 2.4.1
mdadm --assemble /dev/media --auto=p /dev/sd[bcdef]1
cat /proc/mdstat
mdadm --stop /dev/md_d0
mdadm --stop /dev/md0
cat /proc/mdstat
So by now I upgrade to mdadm 2.5.1 in another session.
mdadm --stop /dev/media
dmesg
cat /proc/mdstat
and it stops.
mdadm --assemble /dev/media --auto=p /dev/sd[bcdef]1
But now it won't create working devices...
Much messing about with assemble and I try a kernel upgrade - can't
because the driver for my video card won't compile under 2.6.17 yet so
WTF, I suspect major/minor numbers so just reboot it under the same kernel.
All seems well.
I think there's a bug here somewhere. I wonder/suspect that the
superblock should contain the fact that it's a partitioned/able md device?
David
--
next prev parent reply other threads:[~2006-07-18 18:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-18 16:43 md reports: unknown partition table David Greaves
2006-07-18 18:37 ` David Greaves [this message]
2006-07-20 0:33 ` md reports: unknown partition table - fixed Neil Brown
2006-07-22 21:32 ` Nix
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=44BD2A7A.5040906@dgreaves.com \
--to=david@dgreaves.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.