• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 118
  • Last Modified:

ESXi4 - How do I change default folder for snapshots to a different datastore?

Hi,

I have an ESXi4.1 (free version) host with a single VM that is very close to running out of disk space on its datastore (Datastore1).  I cannot backup the VM (using Trilead's VMX) since it wants to create a snapshot - and there's not enough disk space.  I'd like to temporarily change the location of snapshots to datastore2 (NAS with NFS) which has plenty of room.  I've read that one can add a "WorkingDir=..." setting to the .VMX config file.  I find plenty of articles that describe an example of the the syntax as:

workingDir = "/vmfs/volumes/46f1225f-552b0069-e03b-00145e808070/vm-snapshots"

How does one determine the datastore identifier for the VM?  Can one use a more user-friendly name, like "datastore1"?

My real goal is to replace the set of mirrored 146GB SAS drives in a Dell PE T110 with two 300GB drives to solve the space issue.  My first step is to backup the VM to my secondary datastore (a NAS using NFS).  Then remove the SAS drives which will be my fallback should I run into any problems in rebuilding this server with larger drives.  Then install new drives, install ESXi4.1, create primary datastore (mirrored 300GB drives), create secondary datastore (the NAS with backup of VM), then restore the VMX backup to the primary datastore...

I am a ESXi newbie, so any advice would be GREATLY appreciated!

Thanks,
-Mike
0
Mike Reed
Asked:
Mike Reed
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
How does one determine the datastore identifier for the VM?  Can one use a more user-friendly name, like "datastore1"?

I'm afraid you cannot use the friendly name, the easiest method of obtaining the identifier, is to open the console or remotely via SSH, and check the symlink...

this will be in

cd /vmfs/volumes

cd to the friendly name of the datastore

and then it will display the identifier.
0
 
Mike ReedOwner, janitor, bottle washer :)Author Commented:
Thanks for the quick reply!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now