Problem and solution when some LUNs fail to be mapped when LUNs are mapped in batch
After LUN mappings are canceled in batch in a storage system, the LUNs generated on a host still exist. As a result, the storage system returns "Unmapped" with error code 0x05/0x25/0x00 due to I/Os sent using these LUNs. The interface protocol indicates that the error code performs a LUN switchover but the storage system uses a system lock for the LUN switchover. As a result, LUN mapping fails because no system lock can be obtained.
To solve this problem, map the LUNs again. Then check whether the number of LUNs that are successfully mapped is correct.