Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Reducing disk size on VM to free up datastore?

Posted on 2014-10-27
3
Medium Priority
?
904 Views
Last Modified: 2014-10-27
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
Comment
Question by:Yashy
3 Comments
 
LVL 125

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1520 total points
ID: 40407357
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
 
LVL 16

Assisted Solution

by:Chris H
Chris H earned 480 total points
ID: 40407359
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
 
LVL 1

Author Closing Comment

by:Yashy
ID: 40407387
Awesome guys, thanks for the fast response. I'll give this a go.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Suggested Courses

580 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