CXPLAT-1286: Attach virtual disk(s) fails due to lack of aggregate space in SCV 5.0 or later
Issue
- In SnapCenter Plug-in for VMware vSphere (SCV) 5.0 or later, attach virtual disk(s) fails by the error:
Failed to create the clone volume on node. Reason: Request to create clone failed because there is not enough space in the given aggregate.
- Guest File Restore, which includes attach virtual disk(s) process, also fails with the same error.
- Restoring VM on VMFS datastore fails, and the restore task in Recent Tasks in vCenter shows error:
Unable to mount datastores: Datastore in Backup: 1.Failed to create LUN clone : No input ESX initiator Ids
- This happens when ONTAP volume is configured as thick provisioning:
-space-guarantee
option is set tovolume
- Even if attaching disk is succeeded, clone volume is created with
space-guarantee=volume
when the original volume is thick provisioning - ONTAP volume clone create command with the same SCV backup Snapshot succeeds by specifying
{}-space-guarantee none{
}:::> volume clone create -vserver <SVM> -volume <VOLUME> -flexclone <CLONE_VOLUME_NAME> -parent-snapshot <SCV_BACKUP_SNAPSHOT> -space-guarantee none