Solved

ESXi question

Posted on 2011-02-10
5
495 Views
Last Modified: 2012-05-11
Is there a way to be able to save snapshots or edit the location where the snapshots can be saved either by using the GUI or by a script?
This is for ESXi 4.1
0
Comment
Question by:cjameson74
[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 28

Expert Comment

by:bgoering
ID: 34867348
No, snapshots are always stored in the same location as the vmx file.

Sorry for the bad news
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 34867349
There is a line that you can add into the VM(s) configuration file (.vmx) that specifies where the snapshots can be redirected other than in the current VM directory: workingDir = "/some/path/"

here's a PowerShell scripts that does it for you

http://www.peetersonline.nl/index.php/vmware/set-vmware-snapshot-location-with-powershell/

0
 
LVL 28

Expert Comment

by:bgoering
ID: 34867386
@hancocka interesting - does that move any other files? I always thought it was kind of weird you could spread the base vmdk files around but ths snapshots all went with the vmx...
0
 
LVL 120
ID: 34867411
@bgoering: just the snapshot files, I think VMware invented it, when VMware users, run out of datastore, and need to put the snapshot files somewhere else, in emergency, we've tested running on SSDs to reduce read/write commit times.

Some of our clients have specfic Snapshot LUNs, so they don't have to calculate the 15-20% for the snapshot in the LUN, when they have thin LUNs. The size of the LUN is the size of the VMDK.
0
 
LVL 1

Author Closing Comment

by:cjameson74
ID: 34867496
Great news thanks
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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…
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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 …

751 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