设为首页 收藏本站
查看: 1060|回复: 0

[经验分享] vmware server FileNotFound: A file was not found

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2015-10-9 09:36:49 | 显示全部楼层 |阅读模式
  在使用vmware server时,创建data store,提示FileNotFound: A file was not found,折腾了很久,原来都是权限惹的祸。
  1、情况描述
环境: win7 64bit + vmware server
      在D盘中创建有VM文件夹,下面包含多个虚拟机,由于下面其文件夹下的虚拟机最近很少使用,因此未发现有任何问题。
      最近需要用到该路径下的虚拟机,在添加data store时,一直提示文件没有找到。
      起初以为是vmware的几个服务没有启动,一看都处于启动状态,重启几次,问题依旧,看来应该排除服务异常的情况。
      Google了N多网页,才找到罪魁祸首,下面是截图
      
2、为虚拟机所在驱动器添加权限

DSC0000.png
上面的图示表明D盘VM文件夹下的权限仅仅robinson.cheng域用户有完全控制的权限
DSC0001.png
同样,从上面的图中也可以看出D盘之下的所有内容也只有robinson.cheng域用户有完全控制的权限
我们下面为D盘添加新的权限,如果仅仅修改VM文件夹的权限是不够的。
DSC0002.png
点击change permision
DSC0003.png
点击add,选择locations,指定为当前的计算机名,同时通过advanced按钮寻找到Administrators组,最终结果如下:
DSC0004.png
为刚刚加的administrator组添加full control完全控制权限
DSC0005.png
接下来一路点击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.

  This article provides troubleshooting steps to eliminate factors that may prevent you from adding a datastore.
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.

  • 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.
  • Verify that the value entered in the Name field is not already in use by an existing datastore.
  • 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.


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

    For example:

    NameDirectory PathNotesDatastore1
    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:

  • Gather the VMware Support Script Data. For more information, see Collecting diagnostic information for VMware products (1008524).
  • File a support request with VMware Support and note this KB Article ID in the problem description. For more information, see How to Submit a Support Request.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-124578-1-1.html 上篇帖子: VMware Workstation 9.0.2 Build 1031769 完整汉化注册版 下篇帖子: ubuntu 安装 VMware Tool 时include 出错
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表