RE: RAID1 + LVM not detected during boot on 2.6.9
From: Stephen Warren
Date: Wed Dec 15 2004 - 11:46:35 EST
From: linux-kernel-owner@xxxxxxxxxxxxxxx
> I've installed one machine (Fedora Core 3 distro) with /boot
> on RAID1 device (md0) and all other filesystems on LVM
> volumes located on another RAID1 device (md1). There was
> only one volume group, with couple of volumes for file
> systems (one of them was root file system).
I have this exact same setup, and it's working great.
You do have the correct partition types setup, right? The underlying
RAID partitions should be type 0xfd (Linux raid autodetect). Also, where
are your disks attached - are you really sure that the kernel has
drivers for your host controller in the initrd - perhaps you should edit
the linuxrc (I think) script file to cat the content of some /proc files
to prove that the disks are known to the kernel. Perhaps even add sfdisk
to the initrd, and have it dump out the partition tables etc. at boot
time.
For example, fdisk says this about one of my disks:
SEVERN:~$ sudo fdisk /dev/hdg
The number of cylinders for this disk is set to 30515.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
Disk /dev/hdg: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdg1 * 1 13 104391 fd Linux raid
autodetect
/dev/hdg2 14 30226 242685922+ fd Linux raid
autodetect
/dev/hdg3 30227 30357 1052257+ 82 Linux swap
--
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
swarren@xxxxxxxxxx http://www.nvidia.com/
swarren@xxxxxxxxxxxxx http://www.wwwdotorg.org/pgp.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/