HP MSA 2040 CLI Reference Guide
336
show volume-maps
Description Shows mapping information for a specified volume or for all volumes.
Syntax
show volume-maps
[
volume
]
Parameters
volume
Optional. The name or serial number of the volume for which to show mappings. For volume syntax,
see "Command syntax" (page 20). If this parameter is omitted, information for all volumes is shown.
Output
Volume information:
Serial Number
Volume serial number
Name
Volume name
Mapping information:
Ports
• Controller host ports that the mapping applies to.
• Blank if not mapped or mapped as no-access.
LUN
• LUN that identifies the volume to a host.
• Blank if not mapped or mapped as no-access.
Access
Type of host access to the volume:
• read-write: The host has read and write access to the volume. This is the default.
• read-only: The host has read access to the volume.
• no-access: The host is denied access to the volume.
• not-mapped: The host is not mapped to the volume.
Host-Port-Identifier
• FC and SAS: Host WWPN
• iSCSI: Host initiator node name (typically the IQN)
• all other hosts for the volume’s default mapping
Nickname
Host nickname, or blank if not set or for all other hosts
Profile
• Standard: Default profile.
• HP-UX: The host uses Flat Space Addressing.
Example Show all volume mappings:
# show volume-maps
Volume View [Serial Number (
SN
) Name (v2) ] Mapping:
Ports LUN Access Host-Port-Identifier Nickname Profile
------------------------------------------------------------------
A1,B1 101 read-write 207000c0ff001121 Host2 Standard
A1 100 read-only 207000c0ff001122 Host1 Standard
not-mapped all other hosts Standard
Success: Command completed successfully. (2012-01-19 15:33:50)