HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)
HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 145
show hosts
Description Shows hosts that volumes can be mapped to. Host entries are automatically created for hosts that
have sent an inquiry command or a report luns command to the system. Hosts typically do
this when they boot up or scan for devices. When the command is received, the system saves the
host port information; however, the information is retained after a restart only if you have set a
nickname for the host.
Syntax
show hosts
Output Host ID
Host WWPN or iSCSI node name
Name
Host nickname
Discovered
• Yes: The host was discovered and its entry was automatically created.
• No: The host entry was manually created.
Mapped
Shows whether the host is explicitly mapped to any volumes:
• Yes: At least one volume is explicitly mapped to the host.
• No: No volumes are explicitly mapped to the host.
Profile
• Standard: The host allows LUN 0 to be assigned to a mapping.
• OpenVMS: The host does not allow LUN 0 to be assigned to a mapping.
• HP-UX: The host allows LUN 0 to be assigned to a mapping and uses Flat Space Addressing.
Example Show hosts:
# show hosts
Host ID Name Discovered Mapped Profile
------------------------------------------------------
100000A0B8040BAC Host1 Yes No Standard
100000A0B8040BAD My-host Yes Yes OpenVMS
1111111111111111 testhost No No Standard
------------------------------------------------------
See also • create host
• delete host
• set host-name