Port scanning

The zfcp device driver automatically adds port information to sysfs when the FCP device is set online and when target ports are added.

About this task

Scanning for ports might take some time to complete. Commands that you issue against ports or LUNs while scanning is in progress are delayed and processed when port scanning is completed.

Use the port_rescan attribute if a target port was accidentally deleted from the adapter configuration or if you are unsure whether all ports are added to sysfs. Issue, for example:
# echo 1 > /sys/bus/ccw/drivers/zfcp/0.0.5400/port_rescan