The purpose of the ziorep_config report is to visualize the SCSI-, FCP- and multipath-configuration of the system. You can control the report using command line switches.
The report is usable on both a preprocessed configuration file or configuration directory-tree and on a live system. The report is described in more detail in the example section.
All parameters must be specified fully. Short versions, such as using 3c07 for the device bus ID, are not allowed. Hexadecimal values must be specified with a leading X'0x' and must always be lowercase. All WWPNs and LUNs must be specified as 16-digit hexadecimal values. Leading and trailing zeros are vital and must be included.
ziorep_config syntax .- -A--+-----+--+----------------------+--+---------------------+-. | '- -t-' '- -i -+-<src-file >-+-' '- -a <device_bus_id>-' | | '-<src-dir>---' | >>-ziorep_config--+- -D--| D options |----------------------------------------------+->< +- -M--| M options |----------------------------------------------+ +-+----------------------+----------------------------------------+ | '- -i -+-<src-file >-+-' | | '-<src-dir>---' | +- -h-------------------------------------------------------------+ '- -v-------------------------------------------------------------' D options |--+-----+--+----------------------+--+---------------+--+------------+--+-----------+--+-------------+--+------------+--| '- -t-' '- -i -+-<src-file >-+-' '- -a <adapter>-' '- -p <WWPN>-' '- -l <LUN>-' '- -s <shost>-' '- -d <sdev>-' '-<src-dir>---' M options |--+-----+--+----------------------+--+---------------+--+------------+--+-------------+--+------------+--| '- -t-' '- -i -+-<src-file >-+-' '- -a <adapter>-' '- -p <WWPN>-' '- -s <shost>-' '- -m <mdev>-' '-<src-dir>---'
ziorep_config -D -t
ziorep_config -a 0.0.3c07 -a 0.0.3d07
ziorep_config -D -p 0x5005123456789000 -p 0x5005123456789001
ziorep_config -D -l 0x401040a600000000 -l 0x401040a700000000
ziorep_config -D --scsi host0 -s host1 -s host5
ziorep_config -D --device sda -d sdb -d sde
ziorep_config -M -m 36005076303ffc56200000000000010a6