Archived Content: This information is no longer maintained and is provided "as is" for your convenience.
Summary
Configuring NFS share of Linux VM for VMwareGRE
Error
The VMwareGRE agent is about to mount the vmhost:/ for the recovery so we need to configure the NFS share service on VM machine accordingly.
For example, we want recovered files to be copied to /tmp/recovery, it is suggested to configure the /etc/exports with following:
/tmp/recovery *(rw, fsid=0, no_root_squash)
Which:
Export the /tmp/recovery as /
Allow Read/Write
Does not check the root permission for access to this share.
Otherwise, we might see following error in debug:
[ -2] 2016-04-26 17:14:02.965 ("/lib/cmn/posixio.c $Rev: 50823 $ $Date:: 2015-11-19 08:21:06":967)
[ -2] [OB2_CreateDirectory] mkdir(/var/opt/omni/tmp/VMWareGRE/idcvgavcen1p.corp.bharatpetroleum.com/recovery/14616710422631800.ShareMountPoint//FS6) failed, errno=[13] Permission denied
Or:
[ 99] ===>> (6) RunCliEx {
[ 99]
[ 30] [RunCliEx] tsCmd = /bin/cp -ap "/var/opt/omni/tmp/VMWareGRE/idcvgavcen1p.corp.bharatpetroleum.com/restore/14635673036219000.RestoreMountPoint/SM1arch1_656665_752762666.dbf" "/var/opt/omni/tmp/VMWareGRE/idcvgavcen1p.corp.bharatpetroleum.com/recovery/14635673236228700.ShareMountPoint//SM1arch1_656665_752762666.dbf"
[ 30] iStatus:0
[ 30]
[ 30] 2016-05-18 15:58:43.138 ("integ/vmware/GRE/Agent/Omniback/OB2Util.cpp $Rev: 50615 $ $Date:: 2015-10-30 11:57:50":727)
[ 30] [RunCliEx] Ignoring pclose() failure, ERROR[17]: File exists