Dell EMC Unity: 0x716d806a The attach operation failed because the snapshot is being copied. (User Correctable)
Symptoms
The customer uses scripts to refresh snapshots (Refresh option allows a snapshot to be updated with the current data within the parent LUN.):
> uemcli -d xxx.xxx.xxx.xxx -user xxxxxx -p xxxxxx -silent /prot/snap -name <snapshotname> refresh
Sometimes the refresh job fails with following error:
The attach operation failed because the snapshot is being copied. Retry the operation after the copy has completed. (Error Code:0x716d806a)
\\SPlog.txt
A 06/28/18 11:02:32.999 mlu 16d0004 [INFO] System: Request received to attach snapshot trade2_snap. Snapshot is a Snapset, OID is 0x1400000135.
A 06/28/18 11:02:33.088 mlu 12d8106 [ERROR] System: Could not complete operation Attach Snapshot due to 0xC16D806A. Operation Status: 0xC16D806A, <<<=== Commit Status: 0x0.
A 06/28/18 11:02:39.555 SnapshotPlugin 60003b [ERROR] Audit: The system failed to refresh a storage resource snapshot root/emc:EMC_UEM_SnapGroupLeaf%InstanceID=85899346229.
A 06/28/18 11:02:40.571 mlu 16d0004 [INFO] System: Request received to attach snapshot trade2_snap. Snapshot is a Snapset, OID is 0x1400000135.
A 06/28/18 11:02:40.624 mlu 16d0005 [INFO] System: Request to attach snapshot trade2_snap completed successfully.
However, there's no snapshot copy operation running in background.
Cause
Argument "-copyname" would increse the snapset refresh time that increase frequency of the error occurrence.
Resolution
It is suggest to try to decrease the number of snapshot refresh job and frequency.
[Fix]
This issue is fixed in 4.5.0.1.x. It is recommended to upgrade CODE version when it is released.
Additional Information
There's a new interface added for refreshing attached snap. SnapshotPlugin will wait for MLU object to be ready before issuing attach command.