From: Phil Turmel <philip@turmel.org>
To: Chris Murphy <lists@colorremedies.com>, Ron Leach <ronleach@tesco.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Booting after Debian upgrade: /dev/md5 does not exist
Date: Tue, 22 Jul 2014 13:39:42 -0400 [thread overview]
Message-ID: <53CEA1DE.2040405@turmel.org> (raw)
In-Reply-To: <7EA5355B-DE4B-4EEA-9592-8056FA9A7B7C@colorremedies.com>
Hi Chris,
On 07/22/2014 12:57 PM, Chris Murphy wrote:
>
> On Jul 22, 2014, at 9:57 AM, Ron Leach <ronleach@tesco.net> wrote:
>>
>> D5s2:/# ./lsdrv
> [snip]
>> │ ├sda7 37.25g [8:7] MD raid1 (2) inactive {5bad4c7c:780696f4:e201a2f5:7bba85d7}
> [snip]
>> ├sdb7 37.25g [8:23] MD raid1 (2) inactive {5bad4c7c:780696f4:e201a2f5:7bba85d7}
>
>
> They are in the lsdrv listing, but the raid is not activated. The problem is a RAID UUID mismatch between mdadm.conf and libblkid (I'm assuming the tree lsdrv is generating ultimately comes from libblkid, I could be wrong.)
lsdrv calls out to udev's "vol_id" utility if present, otherwise calls
out to "blkid" in "probe" mode. So yes, libblkid.
> 5bad4c7c:780696f4:fbaacbb9:204d67b9 ## mdadm.conf
> 5bad4c7c:780696f4:e201a2f5:7bba85d7 ## libblkid
>
> Therefore it's not being assembled.
Good catch. UUIDs make my eyes cross.
In this case, since the initramfs is auto-assembling everything, its
getting a high minor number instead of the desired minor number.
Ron, while md126 is assembled, you should get a report from blkid for
that filesystem. Then your fstab can pick it up by UUID instead of
device name.
Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-07-22 17:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 8:09 Booting after Debian upgrade: /dev/md5 does not exist Ron Leach
2014-07-22 12:29 ` Phil Turmel
2014-07-22 13:21 ` Ron Leach
2014-07-22 15:08 ` Phil Turmel
2014-07-22 15:57 ` Ron Leach
2014-07-22 16:30 ` SOLVED " Ron Leach
2014-07-22 16:57 ` Chris Murphy
2014-07-22 17:39 ` Phil Turmel [this message]
2014-07-22 18:12 ` Chris Murphy
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=53CEA1DE.2040405@turmel.org \
--to=philip@turmel.org \
--cc=linux-raid@vger.kernel.org \
--cc=lists@colorremedies.com \
--cc=ronleach@tesco.net \
/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