Solved

Relocating vmdk files to another location to free up disk space

Posted on 2010-09-12
5
657 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
[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
  • 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
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…

752 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