All of lore.kernel.org
 help / color / mirror / Atom feed
* URGENT lilo problems
@ 2002-04-24  8:56 Iain
  2002-04-24  9:52 ` Jakob Østergaard
  0 siblings, 1 reply; 3+ messages in thread
From: Iain @ 2002-04-24  8:56 UTC (permalink / raw)
  To: linux-raid

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.
-- 
public key available at http://www.minihub.org/~iain/iain.asc

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: URGENT lilo problems
  2002-04-24  8:56 URGENT lilo problems Iain
@ 2002-04-24  9:52 ` Jakob Østergaard
  2002-04-24 10:13   ` Iain
  0 siblings, 1 reply; 3+ messages in thread
From: Jakob Østergaard @ 2002-04-24  9:52 UTC (permalink / raw)
  To: Iain; +Cc: linux-raid

On Wed, Apr 24, 2002 at 06:56:59PM +1000, Iain wrote:
> 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 ?

-- 
................................................................
:   jakob@unthought.net   : 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: URGENT lilo problems
  2002-04-24  9:52 ` Jakob Østergaard
@ 2002-04-24 10:13   ` Iain
  0 siblings, 0 replies; 3+ messages in thread
From: Iain @ 2002-04-24 10:13 UTC (permalink / raw)
  To: Jakob Østergaard; +Cc: linux-raid

On Wed, 24 Apr 2002 07:52, Jakob Østergaard wrote:

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

-- 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-24 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-24  8:56 URGENT lilo problems Iain
2002-04-24  9:52 ` Jakob Østergaard
2002-04-24 10:13   ` Iain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.