Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Browse Datastores Option of the VI Client Cannot Recognize .vmdk File Created by vmkfstools (2171)

Details

I created a virtual disk with the vmkfstools -c command. Now I'm trying to add this disk to my virtual machine using the VI Client's Add Hardware wizard. I can't see the disk in the datastore directory. What's wrong?

Solution

When you create a virtual disk with vmkfstools, you use root permissions. This makes the .vmdk file unreadable to an ESX Server host user or any other non-root user who attempts to access the file by browsing datastores in the VI Client.

You can change the virtual disk permissions to let the ESX Server host user (vimuser) view the disk through the Browse Datastores option of the VI Client.

To do so, enter the following commands:
chown vimuser:vimuser *.vmdk
chmod 700 *.vmdk

Keywords

2171; Virtual; Infrastructure; delegate; host; agent

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: