Solved

VMWare, changing disk sizes

Posted on 2014-01-04
5
537 Views
Last Modified: 2016-10-27
I am doing some testing with VMWare and am curious.  someone told me if I want to reduce the size of disk space a virtual server is using, I can just reduce it in VSphere and then reboot the virtual session.

Is this true?
0
Comment
Question by:creativenetworks
[X]
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
5 Comments
 
LVL 23

Expert Comment

by:Stelian Stan
ID: 39756412
You can reduce the size of a HDD (http://www.vmwarearena.com/2013/03/shrink-virtual-machine-vmdk.html) but I would recommend to start small and then increase the size of the HDD. It's easier to start small and then go big.
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39756422
False.

You can extend a virtual disk, but there is no quick option to shrink a virtual disk.

Shrinking a virtual disk, requires two processes:-

1. Decrease the size of the VMDK (virtual machine disk) in VMware vSphere - this is not possible.

2. Decrease the size of the OS partiton, in the OS, using third party partition management software, or OS functions.

The recommend and supported method is to use VMware vCenter Converter Standalone and create a V2V, this will allow you to change the disk size, increase or decrease , and also the OS partition at the same time.

I've written many articles here

HOW TO:  Resize a VMware (VMDK) Virtual Disk

HOW TO: FAQ VMware P2V Troubleshooting

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

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

I've written many more 40 plus, VMware Articles here

Including a new VMware Article Series, Part 1 - Part 12, which might help you and your clients!
0
 

Author Closing Comment

by:creativenetworks
ID: 39756482
Very clear!
0
 
LVL 6

Expert Comment

by:insidetech
ID: 39756488
The easiest way that works is to back-up your VM (while the OS is running).
Use Acronis Workstation OS simply Microsoft Home Server.
Now you can create a new VM with the drive size you want... Boot your VM to the recovery software and restore.
Obviously the newly created smaller drive can not be smaller than the original drives data.
Boot the VM and you are finished.
0
 
LVL 121
ID: 39756551
Thanks for your comments.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

A clone is a duplicate copy. Sheep have been cloned and maybe someday even people will be cloned, but disk cloning (performed by the hard drive cloning software) is a vital tool used to manage and protect data. Let’s look at what hard drive cloning …
The recent Petya-like ransomware attack served a big blow to hundreds of banks, corporations and government offices The Acronis blog takes a closer look at this damaging worm to see what’s behind it – and offers up tips on how you can safeguard your…
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 create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Suggested Courses

628 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