Thanks for the response
Gustin Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gustin Johnson wrote:
Martin Glazer wrote:
Hi,
I'm trying to move 2 drives, setup in a mdraid 1 mirror, from one
machine to another. The hardware is similar but not exactly the same.
I am getting a kernel panic on boot in that it cannot find the ext
partition.
It sounds like the array is not being initialized after you get past the
bootloader. Do you happen to know how the array was built (did they use
the whole disk or use partitions)? In the fstab how is the partition
referenced? What kernel version (distro and version might also be
useful to know)?
Yes, I think the array isn't being initialized. The array was built
using partitions
md0 - sda1 and sdb1 contains /boot (100M)
md1 - sda2 and sdb2 contains swap (2G)
md2 - sda3 and sdb3 contains root (490G)
Using CentOS 5.2 and in the fstab, the drives are referenced via
/dev/md2, /dev/md0, etc and not via UUID.
In mdadm.conf they are referenced via UUID
Any suggestions on how to get this operational again (on the new
machine, I don't have access to the old any longer)? Do I have to
recreate the raid array? How?
I am not sure if I was entirely clear before, but I would boot with a
live distro, and then try mounting the array to make sure it is all
there. I would also check that things like the fstab are appropriate
(the device names may have changed), the modern approach is to use
/dev/disk/by-uuid or /dev/disk/by-name that will not change from machine
to machine (ie. my USB flash drive has the same name from machine to
machine because I set and mount via the label field in ext2/3).
I have managed to mount the drives using a boot disk and temporarily
recreating md0 and md2, but now what?
Hth,
PS - I have been a fairly recent convert to the software RAID
capabilities. Pretty awesome stuff.
Until you start having "challenges" like me ;-)
Thanks
Martin
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying