From owner-freebsd-scsi Fri May 17 05:40:52 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA13526 for freebsd-scsi-outgoing; Fri, 17 May 1996 05:40:52 -0700 (PDT) Received: from hda (ip1-max1-fitch.zipnet.net [199.232.245.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA13521 for ; Fri, 17 May 1996 05:40:49 -0700 (PDT) Received: (from dufault@localhost) by hda (8.6.11/8.6.9) id IAA11989; Fri, 17 May 1996 08:49:25 -0400 From: Peter Dufault Message-Id: <199605171249.IAA11989@hda> Subject: Re: start/stop unit To: robsch@robkaos.ruhr.de (Robert Schien) Date: Fri, 17 May 1996 08:49:24 -0400 (EDT) Cc: freebsd-scsi@freebsd.org In-Reply-To: from "Robert Schien" at May 16, 96 03:04:41 pm Reply-to: hdalog@zipnet.net X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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