• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 983
  • Last Modified:

Reducing disk size on VM to free up datastore?

hi guys

I've got a slight problem. One of our servers has somehow been given way too much space and now we've run out of space on our datastore which in effect is causing the VM to go down?

I've attached photos of examples of some disk we have and would like reduce/shrink if at all possible (although I'm sure with thin provisioned disks you can't just shrink them). For example, one of the disks added has been given 1TB of space but only 100gb has been used. They're both thin provisioned.

We're running Esxi 4.1 at the moment. Is there any way to reduce the disk sizes at all without losing data?

Many thanks
Yashy
Vmware-1.jpg
Vmware-2.jpg
0
Yashy
Asked:
Yashy
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, there is a method of reducing space without losing data, it looks like you allocated a 1.1TB thin disk, and over-subscribbed your datastore.

Options

1. VMware Converter and create a V2V

The following article is for you....tutorial of how to do it, with screenshots

HOW TO: Shrink or Reduce a VMware Virtual Machine Disk (VMDK) using VMware vCenter Converter Standalone v5.5.2

HOW TO: FAQ VMware P2V Troubleshooting

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.5

2. Andy's special EE Article

HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes

3. Create a new disk of the correct size and copy the data, using xcopy, robocopy, ghost, clonezilla, drive snapshot.
0
 
Chris HInfrastructure ManagerCommented:
Copy the 100 GB of data on it to your Volume E.  Delete the drive in vsphere and only make it 200 GB this time.  Make it dynamic in Windows also.  And if you need more space, wallah, expand it...
0
 
YashyAuthor Commented:
Awesome guys, thanks for the fast response. I'll give this a go.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now