Displays the mapping between physical, logical, and virtual devices.
lsmap { -vadapter ServerVirtualAdapter | -plc PhysicalLocationCode | -all }
lsmap [ -type BackingDeviceType | -net ]
lsmap [ -fmt Delimiter ] [ -field FieldNames ]
The lsmap command displays the mapping between virtual host adapters and the physical devices they are backed to. Given a device name (ServerVirtualAdapter) or physical location code (PhysicalLocationCode) of a server virtual adapter, the device name of each connected virtual target device (child devices), its logical unit number, backing device(s) and the backing devices physical location code is displayed. If the -net flag is specified the supplied device must be a virtual server Ethernet adapter.
The -fmt flag divides the output by a user-specified delimiter/character (delimiter). The delimiter can be any non-white space character. This format is provided to facilitate scripting.
The -type flag limits the types of backing devices displayed to the user-specified list, BackingDeviceType. With the exception of the net type, any combination of device types may be specified. The net type can not be combined with any other type.
| Field | Description |
|---|---|
| SVSA | Server Virtual SCSI Adaper |
| Physloc | Physical Location Code |
| VTD | Virtual Target Device |
| LUN | Logical Unit Number |
| SVEA | Server Virtual Ethernet Adapter |
| SEA | Shared Ethernet Adapter |
| Return code | Description |
|---|---|
| 11 | No VTDs associated with device |
| 12 | No SEAs associated with device |
| 15 | Specified device is not a server virtual SCSI adapter |
| 16 | Specified device is not a server virtual Ethernet adapter |
| 17 | Specified device in not in the AVAILABLE state |
lsmap –vadapter vhost2The system displays a message similar to the following:
SVSA Physloc Client Partition ID ------------ -------------------------------------------- ------------------ vhost0 U9111.520.10004BA-V1-C2 0x00000004 VTD vtscsi0 LUN 0x8100000000000000 Backing device vtd0-1 Physloc VTD vtscsi1 LUN 0x8200000000000000 Backing device vtd0-2 Physloc VTD vtscsi2 LUN 0x8300000000000000 Backing device hdisk2 Physloc U787A.001.0397658-P1-T16-L5-L0
lsmap -vadapter ent4 –netThe system displays a message similar to the following:
SVEA Physloc ------ -------------------------------------------- ent4 P2-I1/E1 SEA ent5 Backing device ent1 Physloc P2-I4/E1
lsmap –vadapter ent5 –fmt ":"The system displays a message similar to the following:
ent5:ent8:ent2
lsmap -all -type disk lvThe system displays a message similar to the following:
SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------ vhost0 U9117.570.10D1B0E-V4-C3 0x00000000 VTD vtscsi0 LUN 0x8100000000000000 Backing device hdisk0 Physloc U7879.001.DQD0KN7-P1-T12-L3-L0 VTD vtscsi2 LUN 0x8200000000000000 Backing device lv04 Physloc SVSA Physloc Client Partition ID --------------- -------------------------------------------- ------------------ vhost1 U9117.570.10D1B0E-V4-C4 0x00000000 VTD vtscsi1 LUN 0x8100000000000000 Backing device lv03 Physloc
The cfgdev command, the chdev command, the chpath command, the lsdev command, the lspath command, the mkpath command, the mkvdev command, the rmdev command, the rmpath command.