kernel panic when booting with new lvm group/volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux