public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Kazantsev <mk.fraggod@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] fixing raid1 /boot
Date: Thu, 20 Aug 2009 05:17:27 +0600	[thread overview]
Message-ID: <20090820051727.00cab918@coercion> (raw)
In-Reply-To: <178685.51836.qm@web30407.mail.mud.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

On Wed, 19 Aug 2009 15:30:46 -0700 (PDT)
Kevin Haddock <kevinhaddock@yahoo.com> wrote:

> beta ~ # /sbin/mdadm /dev/md0 --fail /dev/sdb1 --remove /dev/sdb1
> mdadm: cannot get array info for /dev/md0
> beta ~ # cat /proc/mdstat 
> Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
> md0 : inactive dm-0[0](S)
>       104320 blocks super non-persistent

If you have /dev/sda1 and /dev/sdb1 in raid1, "md0 : inactive
dm-0[0](S)" line is obviously wrong, it should be something like
"md0 : active raid1 sda1[0] sdb1[1]".

So, what's this dm-0 device?
Prehaps you had sda/sdb linked via device mapper during boot?

Try removing md0 (by "--manage --stop") and re-assemble the raid,
specifying the correct devices.

Try to remove md0 and re-create it, specifying the right devices (or
just /dev/sda1, then add sdb1).
Alternatively, you can try --assemble --scan, maybe it'll just work
now, then I guess something wrong should be happening during boot.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-08-19 23:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-08 20:55 [gentoo-user] fixing raid1 /boot Kevin Haddock
2009-08-08 21:19 ` Volker Armin Hemmann
2009-08-19 22:30   ` Kevin Haddock
2009-08-19 23:17     ` Mike Kazantsev [this message]
2009-08-20 21:20       ` Kevin Haddock

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=20090820051727.00cab918@coercion \
    --to=mk.fraggod@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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