Solved

Relocating vmdk files to another location to free up disk space

Posted on 2010-09-12
5
653 Views
Last Modified: 2013-11-10
Is this as simple as copying the files over to another volume and then editing the config file?  I am running ESXi free edition 4 i think.  Our Exchange server crashed over the weekend due to the snapshots running out of room.  I need to be able to relocate this files to recover disk space.  Can anyone point me to the right direction?
0
Comment
Question by:cjameson74
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:simonseztech
ID: 33658970
Edit your virtual Machine and remove your hard disk (WITHOUT deleting it from disk)
Move your .vmdk (and associate snapshot if still any)
Edit your virutal machine again then add a new hard disk and choose using a vmdk.
0
 
LVL 7

Expert Comment

by:simonseztech
ID: 33658982
Of course you will have to shutdown your virtual machine.

on second thought if you still have snapshot associated with that hard disk and you want to get rid of it.

Add a second virtual hard disk from a new datastore to your virtual machine then clone your old disk to the new one. Edit your virtual machine and remove the old one and change the address (scsci or ide) of the new one.
0
 
LVL 1

Author Comment

by:cjameson74
ID: 33658987
Thanks for your reply.  Isnt a vmdk file a snapshot file?
When I got to add the vm again and then add the hard disk  u said choose using "a" vmdk?  Or do I use the exisitng one?
0
 
LVL 7

Accepted Solution

by:
simonseztech earned 500 total points
ID: 33659049
VMDK is virtual machine disk so it's the virtual hard-drive. If you look at your current config you will see what's the name of the current attached one (if it's something like name-000001.vmdk or another number it mean that you currently on a snapshot image)

When you add the hard disk again you will add a hard drive then you will have to choose between create a new one or choose an existing one (select existing one) then select the vmdk that was previously configured one)
0
 
LVL 1

Author Closing Comment

by:cjameson74
ID: 33659067
Thanks Simon...you helped me out alot
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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ā€¦
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

778 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