Unix Technical Forum

root on lvm on raid1 [Or why I'm able to read hda but unable to read hda1 ]

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:56 AM
Fran?ois Bernard Thibault
 
Posts: n/a
Default root on lvm on raid1 [Or why I'm able to read hda but unable to read hda1 ]

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:57 AM
Laurenz Albe
 
Posts: n/a
Default Re: root on lvm on raid1 [Or why I'm able to read hda but unable to read hda1 ]

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com