From: bressen@mirror.to (Andrew K. Bressen)
To: Bill Davidsen <davidsen@tmr.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: uuids missing
Date: Wed, 26 Mar 2008 17:03:03 -0400 [thread overview]
Message-ID: <0qprth19mg.fsf@lanconius.mirror.to> (raw)
In-Reply-To: <47EAA789.2030901@tmr.com> (Bill Davidsen's message of "Wed, 26 Mar 2008 15:44:09 -0400")
To recap config:
md0, a 60MB unused raid on hda1 and hdc1
md1, a 300GB raid with root fs on hda2 and hdc2
/dev/sde, not a raid disk. It used to be a raid disk, but went through
repartition, pvcreate, and had a bunch of lv's made on it.
The system doesn't try to assemble it into a raid device.
With sde on motherboard controller (as hdb or hdd),
initramfs crashes trying to mount it as root.
With sde in a usb shoebox (sde), system boots fine,
including starting & mounting volumes on sde.
blkid shows a uuid for hda1 and hdc1 and md0
mdadm shows a uuid for md0 that is _different_ from the uuid reported by blkid
Why on earth would mdadm uuid's and blkid uuid's differ on an md device?
blkid does not show a uuid for hda2 and hdc2 and md1; what the heck?
mdadm shows a uuid for md1.
Why doesn't blkid show uuid's for these devices?
blkid does not show a uuid for sde1
that doesn't seem odd since it is not raid'ed.
pvscan does show a uuid for sde1, which makes sense since the pv
probably has it's own uuid.
I do not believe I am using the old raidtools.
> You *might* find joy through changing the partition type of the old
> disk if it's old self-assembling raid. Maybe retype it from fd (Linux
Disktype is linux, and I also tried it as type swap.
I can try it as lvm later, but if it initramfs tried to mount
a swap disk as root, I suspect partition label doesn't figure
in to this. Though I certainly could be wrong on that.
>> So the old disk, the root raid partitions, and the md device for root,
>> all have no uuids. How do I add them? Did they used to be there
>> and need to be recovered from someplace?
> No, I would worry about changing it now, maybe Neil has a clue what's
> safe. For now let's see if the partition type change fixes things.
--thanks for the continued thoughts!
--akb
prev parent reply other threads:[~2008-03-26 21:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 10:13 raid, lvm, and reused disks crashing initramfs Andrew K. Bressen
2008-03-26 16:32 ` Bill Davidsen
2008-03-26 18:45 ` uuids missing Andrew K. Bressen
[not found] ` <47EAA789.2030901@tmr.com>
2008-03-26 21:03 ` Andrew K. Bressen [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=0qprth19mg.fsf@lanconius.mirror.to \
--to=bressen@mirror.to \
--cc=davidsen@tmr.com \
--cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).