This is a discussion on root on lvm on raid1 [Or why I'm able to read hda but unable to read hda1 ] within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi, I'm installing a complete gentoo system on a raid1 system. I choose to use lvm to split my ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I'm installing a complete gentoo system on a raid1 system. I choose to use lvm to split my 80 Gig raid1 into partition for /home /usr etc... I did'nt had any problem for the installation until the boot process. Mounting my system from my "rescue cd" (yes I decided to make a part of my installation with a rescue cd instead of the boot cd form gentoo because I wanted a more complete boot disc) is not a problem. But when it comes to the small system on my initrd, I tried with and without the devfs support on the kernel and I'm able to read /dev/hda but not my partitions on it! I have a Segmentation fault when I'm trying to get my array working (of course, I cannot use my array if I cannot read the underlaying partition). Do you have any idea why a linux system could not be able to read the partition of an ide drive (I receive a kind of "no such device" msg on car /dev/hda1) , but is able to read the whole disc (by /dev/hda). This system is driving me crazy! (first experimentation of initrd ...) Thanks a lot! François |
| ||||
| Fran?ois Bernard Thibault <fthibault@gmail.com> wrote: > I'm installing a complete gentoo system on a raid1 system. I choose > to use lvm to split my 80 Gig raid1 into partition for /home /usr > etc... I did'nt had any problem for the installation until the boot > process. [...] > But when it comes to the small system on my initrd, I tried with and > without the devfs support on the kernel and I'm able to read /dev/hda > but not my partitions on it! [...] > (I receive a kind of "no such device" msg on car /dev/hda1) , but is > able to read the whole disc (by /dev/hda). This is a little confusing. The subject of your post is "root on lvm". Do you have the root file system on LVM? It would be helpful to read conclusive information: - Which kernel are you using? What are the LVM/RAID-relevant config parameters? - What is in your /etc/fstab ? - If the problem is somehow related to the booting process, it might also be interesting to know what boot manager you use and how it is configured (e.g. /etc/lilo.conf) Yours, Laurenz Albe |