Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Verifying that ESX/ESXi virtual machine storage is accessible (1003751)

Last Updated: 6/22/2016Categories: TroubleshootingTotal Views: 44129Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglishGerman

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Symptoms

Cannot power on a virtual machine.

Guest operating system fails or stops responding.

Guest operating system application fails to work.

Guest operating system file copy or move operation fails.

Guest operating system disk related error.

Purpose

This article guides you through determining if the storage system on which your virtual machine files reside is accessible. If the storage system becomes unavailable, unexpected behavior may occur, including the virtual machine failing to power on, the guest operating system failing, or applications in the guest operating system may not work.

Resolution

To determine if the storage system on which your virtual machine files reside is accessible:

Determine the location of all your virtual machine files.

Verify that you can access the location of the virtual machine files.

Confirm that you are able to create a new file in that location.

Determining the location of all your virtual machine files

You can determine the location of all your virtual machine files graphically using the vSphere Client or vSphere Web Client, or from the command line.

Graphically

Using the vSphere Client:

To determine the location of all your virtual machine files graphically:

Using the vSphere Client connect directly to your ESX/ESXi host or to your vCenter Server.

Select the virtual machine you have to troubleshoot from the inventory.

Right-click the virtual machine and choose Edit Settings. From the screen that is shown you can see where the hard disk data for your virtual machine is stored.

Note: This data is stored in .vmdk files.

This image shows how you can obtain the location of the .vmdk files:

By selecting the hard disk under the Hardware tab, the location of the .vmdk file is shown in the top right, under Disk File. The location of the .vmdk file in the example is [storage3]vm1/vm1-000001.vmdk.

By choosing each Hard Disk associated with the virtual machine under the Hardware tab, you can note the file locations.

From this screen it is also possible to find the location of the configuration file and the working directory of the virtual machine. By selecting the Options tab, a screen similar to the one below is shown:

On the right side the location of the Virtual Machine Configuration File (in this example, [storage3] vm1/vm1.vmx) is shown along with the Virtual Machine Working Location (in this example, [storage3] vm1). By noting these location, you have now determined the location of your virtual machine files.

Using the vSphere Web Client:

Log in to the vSphere Web Client with your user.

Click VM's and Templates.

Expand the datacenter.

Right-click the virtual machine and select Edit Settings...

Expand the drive you have to determine the location of the .vmdk file.

The location will be under the Disk File field.

From the Command Line

To determine the location of all your virtual machine files from the command line:

Log in to the VMware ESX/ESXi host as the root user.

For more information on VMware ESX Service Console, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807).

For more information on VMware ESXi Technical Support Mode, see Tech Support Mode for Emergency Support (1003677).

For more information on VMware ESXi 4.x, 5.x, and 6.0 Technical Support Mode, see Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.0 (1017910).

Run vmware-cmd -l to list the location of the configuration files for the virtual machines registered on an ESX host.

Run vim-cmd vmsvc/getallvms to list the location of the configuration files for the virtual machines registered on an ESXi host.

Record the location of the .vmx file (configuration file) for the virtual machine that you are troubleshooting. For example:

/vmfs/volumes/46b2f3eb-ced4c7d8-c1d2-111122223333/vm1/vm1.vmx

If the virtual machine is not registered on the ESX host and you have to search its configuration file, run this command and press Enter:

find / -name "*.vmx"

The results of step 4 list all virtual machine configuration files. Search the results for the name of a virtual machine file you are interested in locating. The results also list the path to the directory where these files are located.

By viewing the configuration file of a virtual machine, you can tell where all of its associated files, including .vmdk files, are located. If a file is not in the same directory as the configuration file the complete path is shown in the configuration file. For example, a second hard disk may have an entry such as the one shown below:

scsi0:1.present = "true"
scsi0:1.fileName = "/vmfs/volumes/46b2f3ea-980a1c90-3333-00112233bb44/diskStore/secondHardDisk.vmdk"

Verifying that you can access the location of the virtual machine files

Using the file locations you retrieved in part 1 of this article, navigate to the virtual machine file location and confirm if you can see the files located there.

Log in to the VMware ESX/ESXi host as the root user.

For more information on VMware ESX Service Console, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807).

For more information on VMware ESXi Technical Support Mode, see Tech Support Mode for Emergency Support (1003677).

For more information on VMware ESXi 4.x, 5.x, and 6.0 Technical Support Mode, see Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.0 (1017910).

Use the ls command to navigate to the relevant locations. For example:

ls /vmfs/volumes/46b2f3eb-ced4c7d8-c1d2-111122223333/vm1/

If the files associated with your virtual machine (vmdk, vmx, nvram) are listed, you are able to access the storage hosting of your virtual machine. If not, see Identifying shared storage issues with ESX and ESXi (1003659).

Notes:

If you have virtual machine resources located in more than one location, such as a second hard disk, repeat step 2 for each location.

If a storage system is unavailable, you experience different symptoms depending on which virtual machine resource is located on that storage system.

Confirm that you are able to create a new file in that location

If you can view existing files but you cannot create a new file, then you are either not logged in as a user with the correct permissions to the directory or the directory permissions have changed.

Be sure to delete the new file after you have created it.

Note: If the virtual machine's storage is inaccessible, check third party storage connectivity to your ESX hosts. For more information about fiber channel storage, see Troubleshooting fibre channel storage connectivity (1003680).

Related Information

For more information on troubleshooting storage space issues, see:

Troubleshooting an out of storage space condition in VMware vCenter Lab Manager (1006330)

Determining why you cannot create new or consolidate existing virtual machines in VMware vCenter Lab Manager (1006332)

Troubleshooting import or export failures in VMware vCenter Lab Manager (1006333)

Using Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.x
ESX/ESXi 仮想マシン ストレージにアクセス可能であることを確認する
验证 ESX/ESXi 虚拟机存储是否可访问
Verificar que el almacenamiento de la máquina virtual de ESX/ESXi esté accesible
Verificando se o armazenamento da máquina virtual ESX/ESXi está acessível
Sicherstellen des Zugriffs auf Speicher der virtuellen ESX/ESXi-Maschine

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglishGerman

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware vCenter Server 6.0.x

VMware vCenter Server 5.5.x

VMware vCenter Server 5.1.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant