Managing targets, Lun statistics, Command – HP VMA-series Memory Arrays User Manual
Page 124

124
HP VMA SAN Gateway User’s Guide
AM456-9026A
The
lun set
command enables you to set a LUN as read-only. The
lun set
command is the only
command usable after a LUN has been created except the no
lun create … readonly
command.
LUN Statistics Command
LUN statistics are accessed via the CLI with the following command:
show stats lun [container
host
Use the
container
option to restrict statistics display to a single container. If
it is omitted, statistics are shown for all the containers accessible to the hosts.
Use the
name
option to get statistics for a single LUN. If it is committed, statistics
for all LUNs are specified.
Note:
Select shell wildcard patterns can be used in the
field to match a set of LUNs.
For example, you can use the asterisk (*) to match all characters that follow. Such as
mylun*
to
match all LUN names that begin with "mylun". Or, you can specify a range of LUN names using
the [a-e] wildcard. Such as
my-lun[2-4][0-9]
to match all LUNs from my-lun20 to my-lun49.
Use the
on global
option to get statistics for data flowing to LUNs through all nodes in a cluster.
Use the
on host
option to get statistics for data flowing to LUNs on a specific host.
Use the
continuous
option to refresh displayed statistics every ten seconds.
Use the
detail
option to display statistics in a verbose format.
Managing Targets
Show Targets Command
show targets [node
fc] [id
The
show targets
command displays all Fibre Channel targets. Use the
hostname
,
protocol
,
and
id
parameters to filter the targets returned.
The command returns the node, hostname, target port, status (enabled or not), and address (WWN).
The
detail
parameter returns the network bindings for each target.