Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

scsi_ready (8)

Name

scsi_ready - do SCSI TEST UNIT READY on devices

Synopsis

scsi_ready [--brief] [--help] [--verbose] DEVICE [DEVICE]*

Description

SCSI_READY(8)                      SG3_UTILS                     SCSI_READY(8)



NAME
       scsi_ready - do SCSI TEST UNIT READY on devices

SYNOPSIS
       scsi_ready [--brief] [--help] [--verbose] DEVICE [DEVICE]*

DESCRIPTION
       This  bash shell script calls the sg_turs utility on each given DEVICE.
       This will send a SCSI TEST UNIT READY command to  each  DEVICE.  Disks,
       tape  drives and DVD/BD players amongst others may respond to this SCSI
       command.

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

       -b, --brief
              for  each  DEVICE  given  output  a  line  containing  either  '
              ready'  or  '     device  not  ready'. If DEVICE is not found or
              there is another serious error then an error message will appear
              instead.

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

       -v, --verbose
              increase level or verbosity.

EXIT STATUS
       The  exit  status  of this script is 0 when it is successful. Otherwise
       the exit status is that of the last sg_turs  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.


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


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | system/storage/sg3_utils |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+
SEE ALSO
       sg_turs (sg3_utils)



NOTES
       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.42.tgz

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



sg3_utils-1.36                     May 2013                      SCSI_READY(8)