Unix Technical Forum

lilo+xfs+root software raid

This is a discussion on lilo+xfs+root software raid within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I made a Slackware 10.0 installation with XFS filesystem and setup all the partitions software raid (/dev/md0, etc...). ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:56 PM
Doruk Fisek
 
Posts: n/a
Default lilo+xfs+root software raid

Hi,

I made a Slackware 10.0 installation with XFS filesystem and setup
all the partitions software raid (/dev/md0, etc...).

Everything works fine, except that I cannot make LILO boot the md0
partition (not /dev/hda or /dev/hdc).

Most documents I've found googling suggest to write boot = /dev/md0
to lilo.conf which tells LILO to use the superblock on the disk.
Unfortunately XFS uses that superblock so it cannot be written by
Lilo.

If I use boot = /dev/hda, LILO successfully boots the system but in
that case if /dev/hda fails, the system cannot boot /dev/hdc directly.
Something like boot=dev/md does not work out.

Is there a way to install LILO for a multiple device using XFS
filesystem?

I know I can try GRUB, but I prefer LILO both because it's out of the
box with Slackware and I am accustomed to it.

Thanks in advance for any kind of help.

Doruk

----------------------------------------
FISEK INSTITUTE - http://www.fisek.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:56 PM
Keith Matthews
 
Posts: n/a
Default Re: lilo+xfs+root software raid

Doruk Fisek wrote:

> Hi,
>
> I made a Slackware 10.0 installation with XFS filesystem and setup
> all the partitions software raid (/dev/md0, etc...).
>
> Everything works fine, except that I cannot make LILO boot the md0
> partition (not /dev/hda or /dev/hdc).
>
> Most documents I've found googling suggest to write boot = /dev/md0
> to lilo.conf which tells LILO to use the superblock on the disk.
> Unfortunately XFS uses that superblock so it cannot be written by
> Lilo.
>
> If I use boot = /dev/hda, LILO successfully boots the system but in
> that case if /dev/hda fails, the system cannot boot /dev/hdc directly.
> Something like boot=dev/md does not work out.
>


Have you tried

root=/dev/md0

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:56 PM
MikeyD
 
Posts: n/a
Default Re: lilo+xfs+root software raid

Doruk Fisek wrote:

> Hi,
>
> I made a Slackware 10.0 installation with XFS filesystem and setup
> all the partitions software raid (/dev/md0, etc...).
>
> Everything works fine, except that I cannot make LILO boot the md0
> partition (not /dev/hda or /dev/hdc).
>
> Most documents I've found googling suggest to write boot = /dev/md0
> to lilo.conf which tells LILO to use the superblock on the disk.
> Unfortunately XFS uses that superblock so it cannot be written by
> Lilo.
>
> If I use boot = /dev/hda, LILO successfully boots the system but in
> that case if /dev/hda fails, the system cannot boot /dev/hdc directly.
> Something like boot=dev/md does not work out.
>
> Is there a way to install LILO for a multiple device using XFS
> filesystem?
>

No. The reason being that LILO has no understanding of raid, or even of
filesystems. It just gets told the "physical" (ok not exactly physical, but
IIRC it's IDE C/H/S or equivalent) location on the disk of its map file,
which contains the physical locations of the various boot images.
You could try lilo -b /dev/hda followed by lilo -b /dev/hdc to put a copy on
both disks, then tell the BIOS to boot from hdc if hda fails. I don't
really know whether this would work.
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 10:50 AM.


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