Skip to contentSkip to conversation

URGENT lilo problems

DISCUSSION Iain 2 participants 3 messages Apr 24, 2002 MD RAID

lore
Share & tools
lore

Iain

author
#0 lore raw

Hi,

I am trying to setup a bootable raid1 system.

When I run lilo I get the following error:

Fatal: map file must be on the boot RAID partition

The map file is in /boot which is on /dev/md0 the partition I want to boot from.

I am also using ext3.

The weird thing is that all my raid devices say that there is a total of 3 disks when there is only one:

candela:/home/iain# mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.00
  Creation Time : Wed Apr 24 18:49:32 2002
     Raid Level : raid1
     Array Size : 192640 (188.12 MiB 197.26 MB)
    Device Size : 192640 (188.12 MiB 197.26 MB)
     Raid Disks : 2
    Total Disks : 3
Preferred Minor : 0
    Persistance : Superblock is persistant

Update Time : Thu Apr 25 01:47:37 2002
State : dirty, no-errors
Active Drives : 2
Working Drives : 2
Failed Drives : 1
Spare Drives : 0

    Number   Major   Minor   RaidDisk   State
       0       3        1        0      active sync   /dev/hda1
       1      22        1        1      active sync   /dev/hdc1
           UUID : 25bd58dd:78b56568:74efe0f8:57a0e70a

I would appreciate any help as this is quite urgent.

Iain.

Signature · 1 line
public key available at http://www.minihub.org/~iain/iain.asc
#1 lore raw
Quoted 10 lines · Iain

Hi,

I am trying to setup a bootable raid1 system.

When I run lilo I get the following error:

Fatal: map file must be on the boot RAID partition

The map file is in /boot which is on /dev/md0 the partition I want to boot from.

Can you send /proc/mdstat and /etc/lilo.conf ?

Signature · 10 lines
................................................................
:   [email protected]   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#2 lore raw
Quoted 4 lines · Jakob Østergaard
Quoted 2 lines

The map file is in /boot which is on /dev/md0 the partition I want to boot from.

Can you send /proc/mdstat and /etc/lilo.conf ?

Ok the problem seems to have changed now. After reinstalling lilo and the kernel I was able to use lilo. However, only the first hard drive will boot. If I disable the first hard drive and try and boot off the second I get

L 40

When I reinstalled LILO it installed a MBR on /dev/hda so now when lilo boots it shows

MBR

LILO 22.2

I'm not sure if this is right.

Here is my lilo.conf

lba32
boot=/dev/md0
root=/dev/md0
install=/boot/boot.b
delay=20
map=/boot/map
vga=normal
image=/vmlinuz
label=Linux
read-only

And cat /proc/mdstat

candela:~# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hdc1[1] hda1[0]
      192640 blocks [2/2] [UU]

md1 : active raid1 hdc6[1] hda6[0]

      2931712 blocks [2/2] [UU]

md2 : active raid1 hdc7[1] hda7[0]

      19534912 blocks [2/2] [UU]

md3 : active raid1 hdc8[1] hda8[0]

      15430336 blocks [2/2] [UU]

unused devices: <none>

thanks, Iain.

Signature · 5 lines
public key available at http://www.minihub.org/~iain/iain.asc
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html