|
OK, so I have my raid going for LVM. To make my boot redudant I just made a mirror copy of /dev/sda1 onto /dev/sda2. I did this manually using dd. I tried removing /dev/sda and /dev/sdb individually and everything worked. Awesome. But I got greedy and thought I could create and array device for /dev/sd[ab]1. So I zeroed out /dev/sdb1, used fdisk to make /dev/sdb1 of parition type "fd". I created the raid device /dev/md0 with one missing device and /dev/sdb1. Then I mirrored /dev/sda1 to /dev/md0. Then I unmounted /dev/sda1 and added /dev/sda1 to /dev/md0 and let linux sync the partition. I am having boot problems now though. I get into grub and the OS begins to boot. It finds my root volume group and all associated logical volumes, but (and the screen moves very fast) sometime after setting up udev, all of the sudden commands start flying on the sreen saying file not found. Commands used to setup the network and other things. Finally, if I let it sit it drops me to a text login prompt where any username I enter it says invalid login, and INIT keeps complaining that X is respawning to quickly.
I booted into the live CD and found /dev/rootvg/rootlv was corrupt, so I fixed that. Later, I mounted this filesystem and found the /etc/fstab was missing. Not sure how that happened? Luckily I had a backup copy. So I added /etc/fstab back, but I'm still getting the file not found errors, etc.
Any ideas at all? I am completely stumped.
Thanks.
|