Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Relocating vmdk files to another location to free up disk space

Posted on 2010-09-12
5
Medium Priority
?
668 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 2000 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

972 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