Snapshot creation fails with error 4220
Snapshot creation fails due to a zoning issue. If the zoning is not properly done, the target devices/LUNs do not respond well.
For a successful snashot creation, verify that zoning is properly done for the host and the FC/scsi adapter is responding well.
For example, for AIX, you can verify zoning, using the following steps:
To verify if the zoning is correct
- Check the FC/scsci adapter on the host in /usr/sbin/lsdev -C -c adapter -Sa -F 'name'
The Output should be:
fcs0
fcs1
- Check FC SCSI I/O Controller in /usr/lib/methods/cfgefc -l fcs0.
The Output should be
Output:
- Check time taken to rescan the devices with the FC SCSI I/O Controller in time /usr/lib/methods/cfgefscsi -l fscsi0.
The Output should be:
<disk list>
real 2m2.123s the real wall clock time to execute the command
user 0m0.047s the CPU cycle time for the command in user mode.
sys 0m0.024s the CPU cycle time for the command in kernel mode.
Note:
If the total time, is greater than 155 sec the snapshot will fail with error 4220.