HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1.1 Administrator Guide (web) (TB581-96065, September 2011)

hldutil command
The hldutil command is used to acquire information on storage system LDEVs, file systems, and
other devices. It also allows you to output the acquired information to an execution log file and to
view past execution log files. The hldutil command is stored in the following locations:
In Windows:
installation-folder-for-Device-Manager-agent\util\bin\hldutil.exe
In Solaris, Linux, or HP-UX:
/opt/HDVM/HBaseAgent/util/bin/hldutil
In AIX:
/usr/HDVM/HBaseAgent/util/bin/hldutil
The following table describes the hldutil command syntax.
Table 100 hldutil command syntax
DetailsItem
hldutil [-d [device-number-or-device-file-name]|-g
[drive-group-name]|-l ldev-number.serial-number] [-p] [-q]
[-nolog] [-s sort-key...] [-serdec] [-k|-hf [log-file-name]|-h
[log-number]]
hldutil -h [log-number] -hb [log-file-name]|-hrm
[log-number|all]|-history number-of-log-file-generations
Synopsis
The hldutil command is used to acquire information on storage system LDEVs, file
systems, and other devices. It also allows you to output the acquired information to an
execution log file and to view past execution log files. If all options are omitted,
information is output about all LDEVs recognized by the host.
This operation requires Administrator or superuser privileges. If the OS is Windows
Server 2008 or Windows Server 2008 R2, the command must be executed from a
command prompt started as an Administrator.
Caution: If you execute the hldutil command immediately after the host environment
is changed (for example, after an LU is added or deleted), the command might not be
able to recognize the changed contents of the host. In this case, wait a while, and then
re-execute the hldutil command.
Description
-d [device-number-or-device-file-name]
To view information about a specific LDEV, specify the drive number (in Windows)
or device special file name (in UNIX) of the LDEV. If you omit this option, the
command displays information about all currently recognized LDEVs. You cannot
specify the -d option and the -g or -l option at the same time.
Options
-g [drive-group-name]
If you want to view information about a specific drive group, specify the name of
the drive group. If you omit the drive group name, the command outputs information
about all currently defined drive groups. You cannot specify the -g option and the
-d or -l option at the same time.
Administrator Guide (Web Version) 237