Procedures and systems for avoiding undesired trespass may be deployed in
host processors that use storage arrays with automated fail-back and
fail-over functions. In one embodiment, a method may synchronize path
records in a storage array with path records in a host processor. The
method may detect a failure of a first data path through a first
controller on the storage array to a logical unit (LUN) on the storage
array. In response to the failure, the host processor may initiate a
failover on the storage array of the LUN, so that the LUN is accessed
through a backup controller on the storage array. The host processor may
also issue commands to pin the failed-over LUN to the backup controller.
For example, the host processor may issue commands to set the default
owner of the LUN to be the backup controller.