Re: recovering after a /dev/sda failure on raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux