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
LVL 1
Mike ReedOwner, janitor, bottle washer :)Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike ReedOwner, janitor, bottle washer :)Author Commented:
Thanks for the quick reply!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.