[5574] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Swapping on raid

daemon@ATHENA.MIT.EDU (Louis Mandelstam)
Wed Jan 13 03:31:03 1999

Date: 	Wed, 13 Jan 1999 10:29:23 +0200 (SAST)
From: Louis Mandelstam <louism@man8.com>
To: Russell Brown <russell@lls.lls.com>
cc: linux-raid@vger.rutgers.edu, linux-scsi@vger.rutgers.edu
In-Reply-To: <m100LOh-001pU3C@lls.lls.com>

On Wed, 13 Jan 1999, Russell Brown wrote:

> >Reasons TO USE RAID for swap - if the darn swap partition goes bad,
> >the kernel chokes. With a raid swap partition, a bad disk will not
> >bring down the system. Guess how I found out!!!
> 
> Except that the lower level SCSI drivers* seem to croak when a disk goes
> bad and lockup the system anyway :-(
> 
> * - aic7xxx in my case.

It seems some Linux SCSI drivers handle this, and some don't.

I've a Proliant 6500R using the SCSI hot-swap tray and onboard NCR53C875,
and hot-removing/adding seems to work just nicely.

I didn't have opportunity to test by actually pulling drives out of the
SCSI tray yet however, but echoing to appropriate command to
/proc/scsi/.. had the desired effect of shutting down a disk, causing md
to rebuild onto a hot spare.   Removing the shut down drive at this point
works fine, and I can re-add it later, spin it up using echo ... >
/proc/scsi/... and make it part of the RAID again.



-------------------------------------------------------------------------
Louis Mandelstam                                # man 8 consulting    -o)
email: louism@man8.com           System administration contracting    /\\
Mobile: +27-83-289-0310     'whois LM497' for current contact info   _\_v
---------------------[ Penguin Cloning Specialist ]----------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post