I know this sounds crazy. Even then, are you sure "lvm" flag is set on those partitions? Since you had to recreate the partitions, just checking, if you enabled this flag.
Praveen From: linux-poweredge-bounces-Lists On Behalf Of Brian McGrew Sent: Friday, November 19, 2010 9:43 AM To: linux-poweredge-Lists Subject: LVM Help! Good morning, A couple weeks ago I posted here about an LVM problem that was of my own making. I accidentally deleted the LVM partition /dev/sdb1 from my drive. I recreated the partition with the same geometry and never rebooted the server, got sidetracked and forgot about yet. Yesterday I had a power failure and now this particular server won't boot. I can not boot the server at all. It would appear that /boot lives in /dev/sda1, and there is an LVM partition on /dev/sda2 and a second one on /dev/sdb1. If I boot from a rescue disk, I can run pvscan, vgscan and lvscan and everything "looks" alright and there are no errors reported by vgck or lvck. If I do a vgchange -ay to activate the groups, I can see /dev/VolGroup00/LogVol01. I can also see /dev/mapper/VolGroup00-LogVol00 and /dev/mapper/VolGroup00-LogVol01. However, if I try an mount /dev/VolGroup00/LogVol01, I get a kernel panic. I do not see /dev/VolGroup/LogVol00 at this time. The box is CentOS 5.4 and I have tons of data on it. I'm sure the data on the disks is fine, at least it all was yesterday before the power failed. I'm sure there is something very simple that I'm missing here that (hopefully) will turn out to be an easy fix. Since I can not mount /, or any other filesystem besides /boot, I was thinking that I might could do a vgbackup and vgrestore to backup and restore the information, but I don't know if that'll do the trick, or, if it'll do it without blowing out my data. I have the reinstall CD's handy, but there is about 2TB worth of data on this server that I really, really don't want to loose. If someone can offer me some help here, or point me to a toolset to recover this, or even a consultant that can walk me through getting back online. One option I do have, if I can get the volumes online (LogVol00) is to transfer all the data to another machine, reinstall and then put it back - but I still haven't gotten that far! TIA for all the help! -brian
_______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
