scsi_stop(8)

scsi_stop8

Stop (spin down) one or more scsi disks

Usage

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

Overview

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.

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.

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.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8–12
  4. 13–Arch

Authors

Written by D. Gilbert

From sg3_utils 1.49-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.