Unable to create Virtual Machines on VirtualStore due to file access issues.

Problem

Unable to create Virtual Machines in vSphere client, the following error is displayed, "“Unable to access file [<SVS_Store_name>] <vm_name>”

 

Error Message

VSphere client displays “Unable to access file [<SVS_Store_name>] <vm_name>”

Cause

This issue is due to write permission issues with the the NFS share that is exported from the VirtualStore cluster. The ESX Hypervisors will be NFS clients of VirtualStore and will require write permissions to create and update the Virtual Machine images.

Solution

The solution is to share the NFS file systems with sufficent priviledges that the ESX systems have read/write access. In the example below, the filesystem /vmimages is being exported with "ro" options. The share is then deleted and re-added using "rw, o_root_squash" options:

 

[root@sfm_cms2 logs]# cfsshare display
  SHARE RESOURCE    MOUNTPOINT    SHARE OPTIONS
  share1           /vmimages          ro
 
[root@sfm_cms2 logs]# exportfs -v
/vmimages       <world>(ro,wdelay,root_squash,no_subtree_check,anonuid=65534,anongid=65534)
 
[root@sfm_cms2 logs]# cfsshare delete /vmimages
 
[root@sfm_cms2 logs]# cfsshare add -p nfs -N rw,no_root_squash svsdg vmimages /vmimages all=rw
  Mount Point is being added...
  /vmimages added to the cluster-configuration
  Mounting...
  [/dev/vx/dsk/svsdg/vmimages] mounted successfully at /vmimages on sfm_cms2
 
[root@sfm_cms2 logs]# cfsshare display
  SHARE RESOURCE    MOUNTPOINT    SHARE OPTIONS
  share1           /vmimages  rw,no_root_squash
 
[root@sfm_cms2 logs]# exportfs -v
/vmimages       <world>(rw,wdelay,no_root_squash,no_subtree_check,anonuid=65534,anongid=65534)
 

Applies To

VirtualStore 5.1SP1

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)