-d
-l
-s
-n | -no_showdisk
-v | --version
-w
-h | --help
NOTE:
The -w and -c do not run correctly if the hbaapi.dll file is not present in the utilities
directory under the SSTK repository tree. In order to obtain that DLL, see the following issue in
section 7 of the readme file:
"HPshowdisk utility and SetHBABootDevice action do not work properly
if hbaapi.dll is not present"
Examples
The following figure shows an example of hpshowdisk output in a system with 19 disks:
5 smart array disks (disks 15 to 19)
3 SAN disks through QLogic HBA cards (disks 9 to 1 1)
6 SAN disks through Emulex HBA cards (disks 3 to 8)
5 LSI disks through Emulex HBA cards (disks 1, 2, 12, 13 and 14)
>hpshowdisk.exe
LSI
SAS 1068 - sas1068
Disk ID 1: LUN 0 - 67.99 GB
Disk ID 2: LUN 0 - 67.99 GB
>hpshowdisk.exe -i 1 -d
1000:0054:103c:132c
>hpshowdisk.exe -i 2 -s
72999360000
>hpshowdisk.exe -n
LSI
SAS 1068 - sas1068
Disk ID 0: LUN 0 - 67.99 GB
Disk ID 1: LUN 0 - 67.99 GB
Return Codes
Table 5 hpshowdisk return codes
Return
Code
Name
0
SUCCESS
1
ERROR_USAGE
2
ERROR_NO_DISKS
3
ERROR_WMI_CONNECTION
4
ERROR_STRING_CONVERSION
5
ERROR_NO_CONTROLLER
6
ERROR_NO_RELATION
44
Utilities reference
Outputs the PCI ID for the device in the
vendor:device:subvendor:subdevice format.
Displays the disk LUN.
Displays the size of the disk, in bytes.
Do not use the Altiris showdisk command to sort the disk list.
Outputs the hpshowdisk utility version.
Displays the disk WWID in 16-digit hexadecimal format.
Prints this help.
Meaning
Success.
Invalid options or invalid values were specified.
The specified disks are not in the machine.
The utility cannot connect to WMI.
An error occurred while converting a string to a number.
No controller is listed by WMI.
No relationship between disks and controllers is listed by WMI.