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

Article:TECH145047  |  Created: 2010-11-26  |  Updated: 2010-11-28  |  Article URL http://www.symantec.com/docs/TECH145047
Article Type
Technical Solution


Issue



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

 


Error



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


Environment



VirtualStore 5.1SP1


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)
 



Article URL http://www.symantec.com/docs/TECH145047


Terms of use for this information are found in Legal Notices