Solved

Relocating vmdk files to another location to free up disk space

Posted on 2010-09-12
5
656 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Inventory reset. 1 30
SPF record issue 6 54
Exchange server has given up sending the email- Due to ISP problem 7 32
VMware vSAN 6.5 usage example and caveats 11 89
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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 …
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

821 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