Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 11:21:13 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Dan Strick <dan@math.berkeley.edu>
Cc:        hans@artcom.de, pantzer@ludd.luth.se, freebsd-scsi@FreeBSD.ORG
Subject:   Re: SCSI-Disk hot-swappability?
Message-ID:  <353CE399.398A68D@whistle.com>
References:  <199804211749.KAA13234@rain.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Strick wrote:
> 
> > Why not just type this in your configfile for the kernel?
> >
> > disk    sd0 at scbus0 target 0
> > disk    sd1 at scbus0 target 1
>         ...
> > > The sd driver seems to be prepared for this, but the necessary changes to
> > > scsiconf.c do not seem to be there.  We'd also need a set of utilities to
> > > make the kernel reprobe a given SCSI device.
> >
> > The manpage for scsi tells me that it can do that.
> 
> There may be a problem.  I tried it once and it didn't work.
> This was a while back, so perhaps it is old news.
> 
> I actually prefer static drive unit definitions over dynamic
> definitions (at least for the first few drives) because then file
> systems don't move around on you when a drive dies.
> 
> Some additional considerations:
> 
> 1) It would be nice if the SCSI disk driver would react to
>    an attention condition on a drive by reloading the disk
>    labels.  It would be nice if this produced console/syslog
>    messages.

This is done by the DEVFS/SLICE code, but it's not quite 
correct at this time..
It doesn't know it it's the same disk or just one formatted 
the same so it assumes the worst and
invalidates the filesystems.

>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?353CE399.398A68D>