![]() |
Trouble booting a degraded RAID-1 array
I've been attempting to migrate my running server to RAID-1 using another hard drive identical to the current one. The general approach I've used is to create new drive to mirror the old one, set up the new drive as a degraded RAID-1 array using mdadm, rsync the contents of the old drive to the new drive, then add the old drive to the new RAID array when everything is working.
fdisk -l reports Code:
Disk /dev/hda: 251.0 GB, 251000193024 bytesOn /dev/md0 I've created a logical group /dev/lvm-raid with two logical volumes, lvm0 (filesystem) and lvm1 (swap, yeah raid-0 would be better for this). Code:
# lvscanCode:
title Fedora Core raid (2.6.17-1.2174_FC5)Code:
Reading all physical volumes. This may take a while...I've tried rebuilding the boot image with Code:
mkinitrd -v --with=raid1 /boot/initrd-2.6.17-1.2174_FC5.img 2.6.17-1.2174_FC5Does anyone know how I can successfully boot /dev/lvm-raid/lvm0 ? thanks |
Reboot with a rescue CD then see if you can mount it manually.
After reboot type: modprobe raid1 vgchange -a mkdir /mnt/tmp mount /dev/lvm-raid/lvm0 /mnt/tmp Try mounting the other lv. Do this with each drive. Do it with RAID syncronized. |
Thanks for the reply,
Quote:
Quote:
Code:
# vgchange -ayQuote:
|
Just to let everyone know I've reposted the question at FedoraForum here
I'll update this thread as well if I find a solution. |
| All times are GMT -5. The time now is 08:25 PM. |