Example: Mapper report
The mapper report displays the relation between the configured multipath devices and the corresponding SCSI- and FCP-devices.
The following example shows the output of the mapper report sorted in the order of multipath devices, remote ports and adapters. Multipath devices can be found in the sysfs under the directory /dev/mapper or displayed using the multipath utilities.
# ziorep_config -M -t adapter remote_port scsi_dev multipath_device ===================================================== 0.0.3c07 0x500507630300c562 /dev/sda /dev/mapper/36005076303ffc56200000000000010a6 0.0.3d07 0x500507630300c562 /dev/sde /dev/mapper/36005076303ffc56200000000000010a6 0.0.3c07 0x500507630300c562 /dev/sdb /dev/mapper/36005076303ffc56200000000000010a7 0.0.3d07 0x500507630300c562 /dev/sdf /dev/mapper/36005076303ffc56200000000000010a7 0.0.3c07 0x500507630300c562 /dev/sdc /dev/mapper/36005076303ffc56200000000000010a8 0.0.3c07 0x500507630300c562 /dev/sdd /dev/mapper/36005076303ffc56200000000000010a9
The fields of the report are described in Table 1.
| Field | Meaning |
|---|---|
| adapter | Device bus ID of the FCP device. |
| remote port | WWPN of the target port. |
| scsi_dev | Fully qualified path of the SCSI device. |
| multipath_device | Fully qualified path of the multipath device. |