SCV restore fails when LUN in SnapMirror destination volume is mapped
Applies to
- SnapCenter Plug-in for VMware vSphere (SCV)
- VMFS datastore
- LUN in SnapMirror destination volume is mapped
Issue
- Attempting to restore fails with error:
Exception while calling pre-restore on SCV: Unable to mount datastores: <DATASTORE> in Backup: 26&1.Error mounting cloned LUN as datastore for: <DATASTORE>
vmcontrol_<JOB_ID>.log
reports error:
2023-10-02 21:58:02.591 DEBUG <hostname> --- [xxxx-xxx] c.n.a.v.DatastoreService : DatastoreUtils: Invoking Rescan the HBAs where LUN is mapped on ESX HOST <ESX_HOST>
2023-10-02 21:58:02.594 DEBUG <hostname> --- [xxxx-xxx] c.n.a.v.DatastoreService : [JobId:<JOB_ID>] Rescanning HBA iSCSI Software Adapter hostHostBusAdapter.getStatus(): online
2023-10-02 21:58:05.392 DEBUG <hostname> --- [xxxx-xxx] c.n.a.v.DatastoreService : [JobId:<JOB_ID>] DatastoreUtils: Complete Rescan the HBAs where LUN is mapped on ESX HOST <ESX_HOST>
2023-10-02 21:58:05.393 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Rescan HBA attempt 0 succeeded.
2023-10-02 21:58:05.408 DEBUG <hostname> --- [xxxx-xxx] c.n.a.v.DatastoreService : [JobId:<JOB_ID>] DatastoreUtils: Invoking Rescan VMFS on ESX HOST <ESX_HOST>
2023-10-02 21:58:07.514 DEBUG <hostname> --- [xxxx-xxx] c.n.a.v.DatastoreService : DatastoreUtils: Completed Rescan VMFS on ESX HOST <ESX_HOST>
2023-10-02 21:58:07.514 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : vscDatastoretoMount size: 1
2023-10-02 21:58:07.795 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Total number of unresolved volumes: 2
2023-10-02 21:58:07.795 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Finding the matching Host Unresolved Volume
2023-10-02 21:58:07.795 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Finding: Comparing original datastore UUID <DATASTORE_UUID> with unresolved VMFS volume's UUID <VOLUME_UUID>
2023-10-02 21:58:07.795 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Uuid Match Found for Host Unresolved volume: <DATASTORE_UUID>
2023-10-02 21:58:07.795 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Adding entry in the map
2023-10-02 21:58:07.795 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Finding: Comparing original datastore UUID <DATASTORE_UUID> with unresolved VMFS volume's UUID <VOLUME_UUID>
2023-10-02 21:58:07.796 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Total Number of entries in DatastoreVolumeMap: 1
2023-10-02 21:58:07.796 DEBUG <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : Total Number of Extents found for the volume is 2
2023-10-02 21:58:07.796 ERROR <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : [JobId:<JOB_ID>] More than one clone of LUN with UUID:<DATASTORE_UUID> found. Aborting mount because this is not supported. Check and verify whether multiple clones of the LUN are present which are not yet resolved as VMFS datastores
2023-10-02 21:58:07.796 WARN <hostname> --- [xxxx-xxx] c.n.a.m.VmfsMountStrategy : [JobId:<JOB_ID>] Error during mounting datastore : []