Solved

ESXi question

Posted on 2011-02-10
5
500 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 121

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 121
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
Suggested Courses

627 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