Reclaiming disk space from a VM

Posted on 2010-01-12
Medium Priority
Last Modified: 2012-05-08
Dear Experts

I have very clumsily made a blunder and hoping someone can help me out!

Our file server (a VM) has multiple virtual hard disks attached. One of them was running low on disk space so i increased the provisioned size of the disk through vSphere client but i did it on the wrong virtual disk!
So now when i rescan disks on the VM i've got a virtual disk with 40GB of unallocated space.

Is there anything i can do to get that space back?
Question by:Bladey001
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
  • 2
LVL 16

Expert Comment

ID: 26292413

Are these SAS disks or SAN Attached? If San Attached you can then remove the 40GB by not presenting it to this server

Author Comment

ID: 26292452

They are FC SAN attached. How would i go about not presenting it to the server? Will this affect the data on the original part of the disk?
LVL 16

Expert Comment

ID: 26292465
Ok what SAN? And how did you increase it to 40GB? Did present a new LUN from the SAN?
LVL 24

Accepted Solution

ryder0707 earned 1600 total points
ID: 26292513
You cant shrink directly even using vmkfstools command, so you have couple of ways to do it

1. Attach another smaller vmdk and move the file to this new disk, detach the old one and reconfigure drive letter in Windows
2. Use vmware converter and do V2V to resize any virtual disk
3. Or use 3rd party tool like QtPartEd to resize
4. Use disk imaging tool like ghost to clone the disk to another smaller disk

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
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…
Suggested Courses

741 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