Verifying That ESX - ESXi Virtual Machine Storage Is Accessible
Verifying That ESX - ESXi Virtual Machine Storage Is Accessible
articleNumber=344288
MENU
Search Search
Products
Issue/Introduction
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.
Symptoms:
1 de 5 21/04/2025, 21:31
Verifying that ESX/ESXi virtual machine storage is accessible https://knowledge.broadcom.com/external/article?articleNumber=344288
Environment
ESXi
Resolution
To determine if the storage system on which your virtual machine files reside is accessible:
D e t e r m i n i n g t h e l o ca t i o n o f a l l y o u r v i r t u a l m a ch i n e f i l e s
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.
G r a p h i ca l l y
U s i n g th e v S p h e r e C l i e n t:
1. Using the vSphere Client connect directly to your ESX/ESXi host or to your vCenter Server.
2. Select the virtual machine you have to troubleshoot from the inventory.
3. Right-click the virtual machine and choose Ed it S ettin g s . From the screen that is shown
you can see where the hard disk data for your virtual machine is stored.
4. This image shows how you can obtain the location of the .vmdk files:
By selecting the hard disk under the H a r d wa r e 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.
2 de 5 21/04/2025, 21:31
Verifying that ESX/ESXi virtual machine storage is accessible https://knowledge.broadcom.com/external/article?articleNumber=344288
By choosing each Hard Disk associated with the virtual machine under the H a r d wa r e
tab, you can note the file locations.
5. 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 O p tio n s 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.
U s i n g th e v S p h e r e W e b C l i e n t:
Fr om t h e C om m a n d L in e
To determine the location of all your virtual machine files from the command line:
/vmfs/volumes/########-####-########3333/vm1/vm1.vmx
5. If the virtual machine is not registered on the ESX host and you have to search its
configuration file, run this command and press En ter :
3 de 5 21/04/2025, 21:31
Verifying that ESX/ESXi virtual machine storage is accessible https://knowledge.broadcom.com/external/article?articleNumber=344288
6. 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.
7. 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/########-####-########bb44/diskStore/
secondHardDisk.vmdk"
V e r i f y i n g t h a t y o u ca n a cce s s t h e l o ca t i o n o f t h e v i r t u a l m a ch i n e f i l e s
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.
ls /vmfs/volumes/########-####-########3333/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.
N o te s :
◦ 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.
C o n f i r m t h a t y o u a r e a b l e t o cr e a t e a n e w f i l e i n t h a t l o ca t i o n
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.
No te: 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.
4 de 5 21/04/2025, 21:31
Verifying that ESX/ESXi virtual machine storage is accessible https://knowledge.broadcom.com/external/article?articleNumber=344288
Feedback
Yes
No
Powered by
PRODUCTS
5 de 5 21/04/2025, 21:31