Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Relocating vmdk files to another location to free up disk space

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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

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.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

670 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