HP Integrity rx2800 Smart Setup Scripting Toolkit Administrator's Guide 4.0 - Page 52

hpshowdisk, Synopsis, Description, Options, Examples, h | --help

Page 52 highlights

hpshowdisk Synopsis hpshowdisk [[[-i index { -d | -s | -c | -w | -l }]] | -n | -V | -h] Description The hpshowdisk utility outputs a list of disks grouped by controllers along with their sizes, LUN, and disk identifiers. Options -c -i index -d -l -s -n | -no_showdisk -v | --version -w -h | --help Displays the controller WWID in 16-digit hexadecimal format. Selects a device using its index. 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. 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 11) • 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 52 Utilities reference

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65

hpshowdisk
Synopsis
hpshowdisk
[[[
-i
index
{
-d
|
-s
|
-c
|
-w
|
-l
}]] |
-n
|
-V
|
-h
]
Description
The
hpshowdisk
utility outputs a list of disks grouped by controllers along with their sizes,
LUN, and disk identifiers.
Options
-c
Displays the controller WWID in 16-digit hexadecimal format.
-i
index
Selects a device using its index.
-d
Outputs the PCI ID for the device in the
vendor
:
device
:
subvendor
:
subdevice
format.
-l
Displays the disk LUN.
-s
Displays the size of the disk, in bytes.
-n | -no_showdisk
Do not use the Altiris
showdisk
command to sort the disk list.
-v | --version
Outputs the
hpshowdisk
utility version.
-w
Displays the disk WWID in 16-digit hexadecimal format.
-h | --help
Prints this 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 11)
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
52
Utilities reference