Gentoo Archives: gentoo-server

From: Thomas Smith <tom@××××××××××××××.org>
To: gentoo-server@g.o
Subject: [gentoo-server] LVM not working after reboot
Date: Fri, 12 Dec 2003 19:24:39
Message-Id: 3FDA6A43.7070908@openadventures.org
1 I'm having a problem with LVM after rebooting my stage3 install of
2 Gentoo. Here's the filesystem layout:
3
4 /dev/md0 - RAID1 - /dev/hda1 & /dev/hdb1 - /boot
5 /dev/md1 - RAID0 - /dev/hda2 & /dev/hdb2 - / & swap
6 VG - vgroot
7 LV - /dev/vgroot/swap & /dev/vgroot/root
8
9 RAID & LVM are compiled into the Kernel (no modules). I also emerged
10 (after chroot-ing to /mnt/gentoo) lvm-user, the LVM user-space tools,
11 and created an initrd files for booting / from LVM.
12
13 The problem occurs when the Kernel runs vgscan during boot. Here's the
14 error:
15
16 “vgscan -- reading all physical volumes (this may take a while...)
17 cdrom: open failed.
18 vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
19 vgscan -- WARNING: This program does not do a VGDA backup of your volume
20 group
21
22 vgchange -- no volume groups found
23
24 VFS: Cannot open root device "vgroot/root" or 00:00
25 Please append a correct "root=" boot option
26 Kernel panic: VFS: Unable to mount root fs on 00:00"
27
28 I've confirmed that the RAID devices are properly loading from the
29 output during boot.
30
31 Ideas?

Replies

Subject Author
Re: [gentoo-server] LVM not working after reboot aechols@××××××××××××.edu