vmware server FileNotFound: A file was not found

在使用vmware server时,创建data store,提示FileNotFound: A file was not found,折腾了很久,原来都是权限惹的祸。

1、情况描述
环境: win7 64bit + vmware server
      在D盘中创建有VM文件夹,下面包含多个虚拟机,由于下面其文件夹下的虚拟机最近很少使用,因此未发现有任何问题。
      最近需要用到该路径下的虚拟机,在添加data store时,一直提示文件没有找到。
      起初以为是vmware的几个服务没有启动,一看都处于启动状态,重启几次,问题依旧,看来应该排除服务异常的情况。
      Google了N多网页,才找到罪魁祸首,下面是截图
     
2、为虚拟机所在驱动器添加权限

上面的图示表明D盘VM文件夹下的权限仅仅robinson.cheng域用户有完全控制的权限

同样,从上面的图中也可以看出D盘之下的所有内容也只有robinson.cheng域用户有完全控制的权限

我们下面为D盘添加新的权限,如果仅仅修改VM文件夹的权限是不够的。

点击change permision

点击add,选择locations,指定为当前的计算机名,同时通过advanced按钮寻找到Administrators组,最终结果如下:

为刚刚加的administrator组添加full control完全控制权限

接下来一路点击Ok即可。再次添加data store成功。

注意,如果不成功,请查看该用户是否也属于__vmware__用户组。

更多有关vmware的错误:

Symptoms

  • You cannot add a datastore
  • You may experience one of the following errors when trying to add a datastore: 
    • FileNotFound: A file was not found. 
    • DuplicateName: The name already exists.

Purpose

This article provides troubleshooting steps to eliminate factors that may prevent you from adding a datastore.

Resolution

Please validate each troubleshooting step below. Each step will provide instructions in order to eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. Please do not skip a step.

 

Note: If you perform corrective action in any of the following steps, try to add the datastore again.

  1. Confirm that you have the correct permissions. Depending on the operating system of the VMware host installation computer, authenticate as either the local Administrator user or as root.
  2. Verify that the value entered in the Name field is not already in use by an existing datastore.
  3. Verify that the value entered in the Directory Path field exists on the filesystem. This value must point to an existing directory.

    Note: If CIFS is selected (as opposed to Local Datastore), verify that the file share location can be accessed from the computer where the VMware host is installed using the same information that has been entered in the datastore creation wizard.

  4. Confirm that you are not using a subdirectory of a directory path already that is directly defined by an existing datastore.

    For example:

    Name Directory Path Notes
    Datastore1
    Datastore2
    D:\Datastore
    D:\Datastore\NewDatastore

    Invalid. The directory path D:\Datastore is already in use by Datastore1 and cannot be used by Datastore2.
    Datastore1
    Datastore2
    D:\Datastore
    D:\NewDatastore
    Valid. The directory path D:\NewDatastore is not in use by any existing datastore and is available for use.
    Datastore1
    Datastore2
    D:\Datastores\Datastore1
    D:\Datastores\Datastore2

    Valid. Both datastores use a common D:\Datastores directory path, but neither one point directly to it.

Note: If your problem still exists after trying the steps in this article, please:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009452

时间: 2024-07-31 21:35:42

vmware server FileNotFound: A file was not found的相关文章

centos 6.3 x64安装vmware server 2

首先我想说vmware 在linux下安装真TM坑爹.. 吐槽结束,然后看看我如何搞定它.. 1.去官网https://my.vmware.com/group/vmware/evalcenter?p=server20下载vmware server 2编译安装包,需注册才能下载. 2.修改vmware安装内核,由于vmware server 2 默认适配的是2.6.18版本linux内核,高版本内核均无法编译安装成功,centos6.3内核为2.6.32,此处在网上寻找资料耗费N长时间....最后

Vmware server 下为Oracle RAC 添加共享磁盘

    在VMware下的Oracle RAC 环境中,对于共享存储不够或者需要增加新的共享磁盘来配置ocr或votingdisk的多路镜像,我们可以通过vmware下的命令行来增加共享存储,然后将这些新磁盘逐一追加到虚拟机即可.下面给出具体描述.   1.添加虚拟磁盘 #下面我们为虚拟机增加2块共享磁盘 #一块为添加ocr镜像,一块用于补充asm磁盘不够用的情形 C:\Users\robinson.cheng>cd C:\Program Files (x86)\VMware\VMware Se

VMware Server的工作原理

VMware Server提供了一个免费的并且比较容易进入的服务器虚拟化方法,不过部署它的几个方面--尤其是配置,可能很棘手.即使这个产品是免费的,可如果在安装和安全化进程中出了错误,也将会付出很高的代价. 本指南提供了VMware Server在安装.配置(主要注重高安全性)以及如何成功运行于微软Windows 2003服务器等方面的说明. 这一系列文章共分为八部分.在这一部分中,TechTarget中国的特约专家Andrew Kutz主要为大家提供其部署和调配方面的指导以及对其工作原理的描述

Oracle 10GR2+ASM在OEL上的安装(VMware Server 1.0)

自动存储管理 (ASM) 是 Oracle 数据库 10g/11g 的一个特性,它为数据库管理员提供了一个简单的存储管理界面,并且该界面在所有服务器和存储平台上都是一致的.作为专门为 Oracle 数据库文件创建的垂直集成文件系统和卷管理器,ASM 提供了异步 I/O 的性能以及文件系统的易管理性.ASM 提供了可节省 DBA 时间的功能,以及管理动态数据库环境的灵活性,并且提高了效率.(摘自oracle官网) 为了这个伟大的功能,我们在虚拟机中尝试一把,其中的味道怎么样?只有在尝试过才能知道,

centos安装vmware server所需包

gcc gcc-c++ kernel kernel-devel kernel-headers libXtst-devel libXrender-devel xinetd yum install -y kernel-headers libXtst-devel libXrender-devel xinetd ============================= 安装编译工具:#yum -y install gcc gcc-c++ kernel-devel 更新kernel:#yum -y up

RAC CLUSTERWARE 10G+vmware server 2+LINUX 5.3+裸设备 安装指南

见我ITPUB论坛发帖. http://www.itpub.net/viewthread.php?tid=1470710   转载请注明出处

sql server express .sdf(SQL Server Compact Edition Database File)文件打开、删除及使用

首先,我们需要知道.sdf是什么?sdf文件是Visual Studio 2010出现一个一个本地化的数据库文件:SQL Server Compact Edition Database File.经验证,这个文件是工程的信息保存成了数据库文件,如果你没有参加大型的团队项目,不涉及到高深的调试过程,这个文件对于你来说没什么用了,可以放心的删除,如果你后来又需要这个文件了,简单,打开工程里的.sln文件重新编译链接就ok了. 官方说明: 文件类型1:SQL Server Compact Databa

《VMware vSphere 6.0虚拟化架构实战指南》——1.3 VMware软件定义数据中心介绍

1.3.1 VMware vSphere介绍 VMware vSphere是业界领先的虚拟化平台,能够通过虚拟化纵向扩展和横向扩展应用.重新定义可用性和简化虚拟数据中心,最终可实现高可用.恢复能力强的按需基础架构,这是任何云计算环境的理想基础.同时可以降低数据中心成本,增加系统和应用正常运行时间,以及显著简化IT运行数据中心的方式. 图1-3-1显示了VMware vSphere通过一整套应用和基础架构提供一个完整的虚拟化平台.接下来简要地对VMware vSphere的主要功能特性和组件进行介

虚拟化VMware简介6——VMotion 简介

VMware VMotion简介 VMware VMotion 可使 IT 环境保持正常运行,为您提供空前的灵活性和可用性,以满足您的业务和最终用户不断增长的需要.以零停机时间迁移虚拟机,将正在运行的虚拟机从一台物理服务器移动至另一台物理服务器,而不影响最终用户. VMware VMotion 是 VMware 开发出的一项独特技术,它将服务器.存储和网络设备完全虚拟化,使得正在运行的整个虚拟机能够在瞬间从一台服务器移到另一台服务器上.虚拟机的全部状态由存储在共享存储器上的一组文件进行封装,而