linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Louis-David Mitterrand <vindex@apartia.org>
To: linux-raid@vger.kernel.org
Subject: Re: recovering after a /dev/sda failure on raid1
Date: Mon, 5 Aug 2002 11:34:40 +0200	[thread overview]
Message-ID: <20020805093440.GB577@apartia.org> (raw)
In-Reply-To: <Pine.LNX.4.30.0208030058480.26520-100000@duplo.agenda.si>

On Sat, Aug 03, 2002 at 01:03:34AM +0200, Danilo Godec wrote:
> On Sat, 3 Aug 2002, Neil Brown wrote:
> 
> > > My concern is that if I power down and replace /dev/sda the machine
> > > won't be able to reboot without a rescue CD (lilo.conf has root=/dev/md0
> > > and boot=/dev/md0) or will it?
> 
> A recent enough lilo knows raid partition and will install it self on both
> disks. So, in theory both disk should be able to boot you system.

In theory, because I was unable to boot this debian sid system with
lilo-22.2 and these settings:

	boot=/dev/md0
	root=/dev/md0
	install=/boot/boot-menu.b
	delay=20
	map=/boot/map
	read-only

	image=/vmlinuz
		label=Linux

After altering the SCSI bios setting to boot from /dev/sdb the screen
filled with 01010101010.

However this is not specific to booting on degraded mode. I have the
same problem when both disks are fine. The machine will only boot after
I changed "boot=/dev/sda" and run lilo. I can then revert to
"boot=/dev/md0" and re-run lilo and from there booting will work fine.

> > > When the bios (Dell Poweredge 1500) will try /dev/sda's mbr and fail,
> > > will it then automatically try /dev/sdb?
> 
> It might not even try /dev/sdb if /dev/sda exists...
> But with some recent bioses you can choose which drive you want to boot,
> sou you could just choose your 2nd SCSI drive and it should work.

Yes, I found that out, sorry for the basic questions but I was a bit
stressed changing a disk on a production server and having it not
restart. But all went well in the end.

Thanks again to kernel-raid developers, on another server I replaced a
Mylex card with a kernel raid5 partition and the speed gain is
tremendous!

Cheers,

-- 
ldm@apartia.org 

  reply	other threads:[~2002-08-05  9:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <message from Louis-David Mitterrand on Monday August 5>
2002-08-01 14:49 ` recovering after a /dev/sda failure on raid1 Louis-David Mitterrand
2002-08-02 21:26   ` Neil Brown
2002-08-02 23:03     ` Danilo Godec
2002-08-05  9:34       ` Louis-David Mitterrand [this message]
2002-08-05  9:26     ` Louis-David Mitterrand
2002-08-05 12:15       ` Neil Brown
2002-08-05 12:36         ` Louis-David Mitterrand
2002-08-05 18:38         ` Maurice Hilarius
2002-08-05 18:35       ` Maurice Hilarius
2002-08-06  8:36         ` Louis-David Mitterrand
2002-08-06 19:51 Cress, Andrew R

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020805093440.GB577@apartia.org \
    --to=vindex@apartia.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).