Solved

working with VMDK Files

Posted on 2016-10-19
5
67 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
[X]
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
  • 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 120

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 120

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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 join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

740 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