vMotion validation fails with the error: Unable to access file
search cancel

vMotion validation fails with the error: Unable to access file

book

Article ID: 308552

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides steps in resolving vMotion validation errors for virtual machines stored on a NFS datastore.

Symptoms:
  • Cannot validate vMotion.
  • vMotion validation fails.
  • You see the error:

Unable to access file [datastore_name]vm_name/vm_name.vmx
Virtual disk 'Hard Disk 1' is not accessible on the Host: Unable to access file[datastore_name]vm_name/vm_name.vmdk


Notes:
  • This occurs on virtual machines with the disks on a NFS/NAS datastore.
  • Datastores are mounted across all the hosts in the cluster.


Environment

VMware vSphere ESXi 5.1
VMware ESXi 4.1.x Installable
VMware vSphere ESXi 5.0

Cause

This issue occurs if multiple hosts are mounted to the same NFS share using different mount points. Ensuring that each host uses the same IP address and mount point name prevents this issue from occurring.
 
For example, on the source host, the NFS datastore ABC is mounted with the folder name /ABC but on the destination host, the same NFS datastore ABC is mounted with the folder name ABC. Due to the difference in the folder name, the datastore name on the latter host is seen as ABC(1) in the Storage section under the Configuration Tab in vCenter Server.
 

Resolution

To resolve this issue, on the destination host unmount the problem datastore and re-mount it with the same folder name.
 
To unmount a NFS datastore in the vSphere Client:
  1. Log in to the vSphere Client.
  2. Select the host from Inventory.
  3. Click the Configuration tab.
  4. In the Configuration tab, click Storage in the Hardware pane.
  5. Right-click the datastore and select Unmount.
  6. Confirm that you want to unmount the datastore
To remount a NFS datastore in the vSphere Client:
  1. Log in to the vSphere Client.
  2. Select the host from Inventory.
  3. Click the Configuration tab.
  4. In the Configuration tab, click Storage in the Hardware pane.
  5. Click Datastores.
  6. In the Datastores, click Add Storage.
  7. Select Network File System as the storage type.
  8. Click Next.
  9. Enter the server name, the mount point folder name, and the datastore name.
  10. Click Next.
  11. In the Network File System Summary page, review the configuration options.
  12. Click Finish.
For more information on how to unmount and remount a NFS datastore from command-line, see Remounting a disconnected NFS datastore from the ESXi/ESX command line (1005057)


Additional Information


vMotion の互換性チェックが次のエラーで失敗する: 「ファイルにアクセスできません」