Solved

working with VMDK Files

Posted on 2016-10-19
5
55 Views
Last Modified: 2016-10-19
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
Comment
Question by:jskfan
  • 2
  • 2
5 Comments
 
LVL 69

Assisted Solution

by:Qlemo
Qlemo earned 125 total points
ID: 41849618
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
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 375 total points
ID: 41849668
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
 

Author Comment

by:jskfan
ID: 41849780
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
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 375 total points
ID: 41849786
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
 

Author Closing Comment

by:jskfan
ID: 41849823
Thank you
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question