Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

working with VMDK Files

Posted on 2016-10-19
5
63 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

Title # Comments Views Activity
VMWare 6.5 5 84
Error upgrading from esxi 5.5 to 6.5 15 196
VMware 5.5:  OK to mount iSCSI LUN on multiple hosts? 1 47
ESXi 5.1 to 6.5, problems when add VMs to inventory 4 39
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
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 …

856 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