VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

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

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

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (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? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions