Fast I/O Failure for Fibre Channel Devices
AIX® supports Fast I/O Failure for Fibre Channel (FC) devices after link events in a switched environment. If the FC adapter driver detects a link event, such as a lost link between a storage device and a switch, the FC adapter driver waits a short period of time, approximately 15 seconds, so that the fabric can stabilize. At that point, if the FC adapter driver detects that the device is not on the fabric, it begins failing all I/Os at the adapter driver. Any new I/O or future retries of the failed I/Os are failed immediately by the adapter until the adapter driver detects that the device has rejoined the fabric.
delayed_fail
, which is the
I/O failure behavior seen in previous versions of AIX. To enable Fast I/O Failure, set this attribute
to fast_fail
, as shown in the example:
chdev -l fscsi0 -a fc_err_recov=fast_fail
In this example, the fscsi device
instance is fscsi0
. Fast fail logic is called when
the adapter driver receives an indication from the switch that there
has been a link event involving a remote storage device port by way
of a Registered State Change Notification (RSCN) from the switch.Fast I/O Failure is useful in situations where multipathing software
is used. Setting the fc_err_recov attribute
to fast_fail
can decrease the I/O fail times because
of link loss between the storage device and switch. This would support
faster failover to alternate paths.
In single-path configurations, especially configurations with a
single path to a paging device, the delayed_fail
default
setting is recommended.
- A switched environment. It is not supported in arbitrated loop environments, including public loop.
- FC 6227 adapter firmware, level 3.22A1 or higher.
- FC 6228 adapter firmware, level 3.82A1 or higher.
- FC 6239 adapter firmware, all levels.
- All subsequent FC adapter releases support Fast I/O Failure.
If any of these requirements is not met, the fscsi device
logs an error log of type INFO
indicating that one
of these requirements is not met and that Fast I/O Failure is not
enabled.