HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
d
dsp(1M) dsp(1M)
NAME
dsp - display status of an HP SCSI
disk array
SYNOPSIS
dsp -p [-h|-d] device_file
dsp -l [-h|-d] device_file
DESCRIPTION
dsp displays the status of the LUN (in an
HP SCSI disk array) that is associated with the device file
device_file.
dsp displays the status of physical drives in an array (when the
-p option is specified), or
the status of
LUNs in an array (when the
-l option is specified). This information can be displayed in
interpreted form, or in raw hexadecimal or raw decimal format.
Options
-p Display physical drive status. The -p
option displays the status of a LUN’s physical
drives, regardless of their
LUN ownership. This information is retrieved the array
physical page (Mode Page 2A), and inquiry data.
-l Display LUN status. The -l option displays information about the state of the LUN
including it’s RAID level, block and segment sizes, reconstruction information, and so
on. This information is retrieved from the array logical page (Mode Page 2B), and
inquiry data.
By default, data is displayed in interpreted form; if raw data is desired, one of the following options
can be used:
-h Raw hex format. Displays the data in raw hex format in rows, each of which contains
the ASCII representation of 16 hexadecimal data bytes, separated by spaces.
-d Raw decimal format. Displays the data in raw decimal format in rows, each of which
contains the ASCII representation of 16 decimal data bytes, separated by spaces.
RETURN VALUE
dsp returns the following values:
0 Successful completion.
-1 Command failed (an error occurred).
DIAGNOSTICS AND ERRORS
Errors can originate from problems with:
• dsp
• SCSI (device level) communications
• system calls
Error messages generated by dsp:
usage: dsp <-p | -l> [-h | -d] <special>
An error in command syntax has occurred. Enter the command again with all required arguments.
dsp: Arg out of range
One of the arguments is larger than its allowed maximum value (or smaller than its allowed minimum
value), or is incorrect in form. Check the size and form of each argument and make appropriate
corrections.
dsp: LUN # too big
The LUN number, which is derived from the device special file name, is out of range.
dsp: Not a raw file
Utilities must be able to open the device file for raw access.
dsp: Transfer length error
The amount of data actually sent to or received from the device was not the expected amount.
dsp: LUN does not exist
The requested LUN is not among those known to the controller.
dsp: Not an HP SCSI disk array
The device being addressed is not an HP SCSI disk array.
Section 1M−−190 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005