Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

scsi_stop (8)

Name

scsi_stop - stop (spin down) one or more SCSI disks

Synopsis

scsi_stop [--help] [--verbose] [--wait] DEVICE [DEVICE]*

Description

SCSI_STOP(8)                       SG3_UTILS                      SCSI_STOP(8)



NAME
       scsi_stop - stop (spin down) one or more SCSI disks

SYNOPSIS
       scsi_stop [--help] [--verbose] [--wait] DEVICE [DEVICE]*

DESCRIPTION
       This bash shell script calls the sg_start utility on each given DEVICE.
       The purpose is to spin down (stop) each given DEVICE.

OPTIONS
       Arguments to long options are mandatory for short options as well.

       -h, --help
              print out the usage message then exit.

       -v, --verbose
              increase level or verbosity.

       -w, --wait
              wait for the spin down (stop) on each given DEVICE to  complete.
              The default action is to do each stop in immediate mode.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | system/storage/sg3_utils |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

NOTES
       The  sg_start  utility  calls  the SCSI START STOP UNIT command and can
       either start (spin up) or stop (spin down) a SCSI disk depending on the
       given command line options.

       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source was downloaded from  http://sg.danny.cz/sg/p/sg3_utils-1.46.tgz.

       Further information about this software can be found on the open source
       community website at http://sg.danny.cz/sg/sg3_utils.html.

EXIT STATUS
       The exit status of this script is 0 when it  is  successful.  Otherwise
       the  exit  status  is that of the last sg_start utility called. See the
       sg3_utils(8) man page.

AUTHORS
       Written by D. Gilbert

COPYRIGHT
       Copyright (C) 2009-2013 Douglas Gilbert
       This software is distributed under a FreeBSD license. There is NO  war-
       ranty;  not  even  for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
       POSE.

SEE ALSO
       sg_start (sg3_utils)




sg3_utils-1.36                     May 2013                       SCSI_STOP(8)