• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 92
  • Last Modified:

working with VMDK Files

If I understand VMDK files are physically located at the Datastore.
What I do not understand, I have read  that you can SSH to ESX host and list the VMDK files there, and you can  Delete snapshots from there.
So are VMDKs at the Datastore or ESX host? if at the Datastore probably we 'll need to SSH to the Datastore.

if you delete snapshot from the command line , will the snapshot commit to base disk ?

Any clarifications?

THanks
0
jskfan
Asked:
jskfan
  • 2
  • 2
3 Solutions
 
QlemoC++ DeveloperCommented:
The datastore is considered to be just that - a dumb datastore containing files. Physically VMDKs are on the datastore. But to get access, you can use a lot of different methods, and one of them is to log in into the ESX host, and use its access means to apply changes - like committing snapshots. You never go and delete files directly, unless you very well know you can do that.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
All virtual machines, and there files, including the VMDK are stored on the datastore.

To access the datastore, you need to connect through the ESXi host, if this was an NFS datastore it is also possible to access without accessing through the ESXi host.

BUT, this will not help you because you need to run ESXi console commands, to manage, and manipulate snapshots, e.g. MERGE them.

Any access via NFS, can DELETE them physically, which you should not do, because this is a physical deletion, e.g. it will corrupt your files.
0
 
jskfanAuthor Commented:
When you SSH to ESX, do you have to specify a path to the datastore where physical vmdks are located in order to list /Delete VMDK files, or edit vmx files...
or there is a local path on the ESX.?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you need to specify the path, as all datastores are contain in separate paths

e.g. /vmfs/volumes/[datastore name]

or, change directory to the datastore, and then execute the commands.
0
 
jskfanAuthor Commented:
Thank you
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now