logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       Written by D. Gilbert

Description

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

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.

Name

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

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.

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.

See Also

sg_start(sg3_utils)

sg3_utils-1.36                                      May 2013                                        SCSI_STOP(8)

Synopsis

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

See Also