Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 1996 08:49:24 -0400 (EDT)
From:      Peter Dufault <dufault@hda>
To:        robsch@robkaos.ruhr.de (Robert Schien)
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: start/stop unit
Message-ID:  <199605171249.IAA11989@hda>
In-Reply-To: <m0uK2jS-0000FVC@robkaos.ruhr.de> from "Robert Schien" at May 16, 96 03:04:41 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I want to turn off an unused SCSI hard drive. I tried
> 
> scsi -f /dev/rsd0.ctl "1b 0 0 0 0 0"
> 
> but this does not work : (

You need at least a "-c" in there to tell it that this is a command,
i.e.,

> scsi -f /dev/rsd0.ctl -c "1b 0 0 0 0 0"

You also need to be prepared to discover bugs in the SCSI system -
this may work, this may not.

Aside: I don't want to discourage you from screwing around
with "-c" - it is great for prototyping and I've used it in
bringing up interfaces to a few screwy devices without having
to do anything but command files.  But keep in mind that you
are operating without a safety net and you are likely to
find problems.  A second scsi bus, if you have it, is the safest
way to go until you are sure everything works OK.

-- 
Temporarily via "hdalog@zipnet.net"...

Peter Dufault               Real-Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605171249.IAA11989>