Previous Topic: Instant VM RelatedNext Topic: Failed to Create an Instant VM with Windows 2008 R2 as the Recovery Server for VMware or Windows 2008 R2 Hyper-V Server


Failed to Create an Instant VM in VMware Due to Duplicate NFS Datastore Name

Symptom

Instant VM creation fails with the following error:

Failed to create NFS-based datastore [arcserve_UDP_<Hostnam/IP>] with the NFS Share Name [arcserve_UDP_IVM_{GUID}]. Error code: 12. Error message: The specified key, name, or identifier already exists (details: ).

The reason for this error could be that an NFS datastore with the same name already exist and it is not removed, or the vCenter/Host still has references of the NFS datastore in its records. However, when you log into the host directly you see an NFS datastore. This datastore is most likely marked as inactive and greyed out.

Solution

To resolve this issue, log in to the ESX host and remove the NFS datastore.

Restart the management agents on that ESX host using the following command:

/sbin/services.sh restart

For more information on working on the ESX host, see the VMware documentation.