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

Re: disk hot-swap utilities



on Sat, Nov 11, 2000 at 11:42:30AM -0500, Noah L. Meyerhans (frodo@morgul.net) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, Nov 10, 2000 at 05:21:11PM -0800, kmself@ix.netcom.com wrote:
> > > 
> > > I recently had the opportunity to use a FreeBSD feature that I found
> > > extremely cool.  I had built a machine, set it up as a server, deployed
> > > the server, then realized I needed to add a disk.  The machine and OS
> > > support hot-swapping SCSI disks, so I was able to add a whole new disk,
> > > previously 100% unknown to the system, without ever rebooting.  The tool
> > > to control the SCSI bus is called camcontrol on FreeBSD.  My question
> > > is, how is this done in Linux and Debian?  Is the functionality as
> > > mature and good?
> > 
> > Not my area of expertise, but I believe this is specific to RAID
> > features.  I'd look to Linux-kernel specific documenation on this.

FYI, I prefer on-list responses.  This protects both of us -- me from
random queries, you from my underinformed knowledge.

> Hmm.  That's unfortunate.  I have heard some people mention some
> shortcomings in the kernel device naming scheme.  E.g. /dev/sda is
> always the scsi disk with the lowest (?) SCSI ID.  That would seem to
> prevent Linux from being able to handle hot swapping the way FreeBSD
> does.  It seems that if this is the case, then hot-swapping in a new
> disk could rename your boot device from e.g. /dev/sda1 to /dev/sdb1 or
> something bad like that.

My understanding is that the RAID interface itself provides single point
of contact for the device.  Physical arrangements beneath this are
handled by the RAID interface, and are transparent to the kernel or
remainder of the OS.  Again, I'd strongly recommend you read the
relevant docs.


-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Zelerate, Inc.                      http://www.zelerate.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org

Attachment: pgpjIWyk8sIIc.pgp
Description: PGP signature


Reply to: