I qould like to change the motherboard of on of my sme7rc3 servers and try to boot without having to re-install sme.
The problem is when I put the new mobo in place I get a kernal panic suring boot saying
unable to find vol group "main"
mount failed 22
/bin/lvm exited
What can I do to get my root partition to mount and boot as normal? Is this possible without a full reinstall?
First I am going to tell you to read all the relevant docs on the issue...then point you to a few that should be looked at to understand what you are asking.
1. Great article/notes explaining the current release of SME Server 7.0 (shame on the dev team for not doing this in the first place)
http://no.longer.valid/phpwiki/index.php/lvm2. take a look at section 2.2 specificly on how to activate your LVM
http://www.gentoo.org/doc/en/lvm2.xml3. then take a look at
http://dcs.nac.uci.edu/~strombrg/EXT3-filesystem-recovery-in-LVM2.html this article was the most helpfull for me of all. After reading all the docs and these few articles I was able to do the following:
1. boot a knoppix dvd 4.0 disk
2. mount the boot partition and find out the root volume was in /dev/vg_primary/lv_root
3. modprope md
4. modprope dm_mod
5. To use LVM2 you need 3 things: device-mapper in your kernel, the userspace device-mapper support library (libdevmapper) and the userspace LVM2 tools. Please look at
http://sources.redhat.com/dm/ for information about the device-mapper kernel and userspace components. Also more info can be found here...
http://sourceware.org/lvm2/6. vgscan
7. lvm vgchange --ignorelockingfailure -P -a y
8. mount /dev/vg_primary/lv_root /mnt/hda2
9. swapon /dev/vg_primary/lv_swap
I then was able to download the kernel and compile it for the hardware I am using at the moment (AMD Athlon 64) Your milage may vary on this but I hope it is a point in the right direction. Good luck
Donovan