Aleksandar Milivojevic
2005-Oct-28 20:37 UTC
[CentOS] kernel panic when booting with new lvm group/volume
I've added new volume group with single logical volume: pvcreate /dev/sdb1 vgcreate -s 32m xxx_vg /dev/sdb1 lvcreate -l 1234 -n yyy_lv xxx_vg and rebooted the server after it. When booting, the kernel panics with can't mount root file system. Looking at the console output, it seems all volume groups and all logical volumes on them were imported correctly. However, if I go to rescue mode, and re-create initrd image: chroot /mnt/sysimage cd /boot rm initrd-ver.img mkinitrd initrd-ver.img ver lilo then reboot, the server comes up just fine. This is kind of wierd. The root file system was available (at least according to vgscan output which claimed it imported my sys_vg volume group with all the logical volumes I have on it), I haven't touched sys_vg at all, however unless I actually rebuild initrd image, the kernel fails to mount it!? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.