Solved

Shrink virtual HDD vmware Vsphere 5.0

Posted on 2012-03-14
3
762 Views
Last Modified: 2012-05-28
Hi all
I've a Vmware Vsphere Server 5.0. An employee has a year ago created a vm with 200gb space for a debian vm. A week ago he has extend the disk to 300gb. He hasn't modified the disk in the debian os. I do not want to use 300gb. How could I shrink the vmdk Disk to 200gb again without problem?

Thanks
0
Comment
Question by:kistenstein
  • 2
3 Comments
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 334 total points
ID: 37722458
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 334 total points
ID: 37722463
or create a new 200GB disk, attached to the VM, clone the contents using G4L, and then remove and delete the original 300GB disk.

http://sourceforge.net/projects/g4l/
0
 
LVL 1

Assisted Solution

by:securitythreat
securitythreat earned 166 total points
ID: 37723407
If you are worried about actual disk space usage, you can always convert it to use thin provisioning.  You can do this with a vMotion.  The OS doesn't know the difference and still things it has 300GB.  However, you are only using the disk space that the OS actually needs.  

If you attempt to convert or use Quest's tool, you run the risk of loosing or corrupting data.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ESXi 4.1.0 host unreachable every morning 1 62
VMWare & and Storage 10 93
VMware SRM - Datastore not showing in Array Replication 11 77
Vcenter 8 52
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
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…

828 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