Selecting devices

The ziorep_traffic command offers a wide variety of options to specify which devices to consider.

These options, -c, -u, -p, -l, -m and -d, specify devices on different levels and can be freely combined. The resulting devices are the combination of all devices specified.

Examples:

  • Use same-level selection criteria to select a combination of devices. For example, to select two bus IDs:
     -u 0.0.7133 -u 0.0.7173
  • Multipath devices specified using -m are resolved to all respective paths. For example, to specify all paths connecting through 36005076303ffc1040002120 as well as the devices sda, sdc and the lun 0x4021402200000000:
    -m 36005076303ffc1040002120 -l 0x4021402200000000 -d sda -d sdc
  • To specify intersecting devices, for example where portA is connected (among others) to busA, essentially all devices that are connected to busA are considered:
    -u busA -p portA
Note: To select all LUNs on a specific storage server, it is necessary to specify all ports of that storage server.