Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VMWare, changing disk sizes

Posted on 2014-01-04
5
Medium Priority
?
542 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 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 123
ID: 39756551
Thanks for your comments.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Check out what's been happening in the Experts Exchange community.
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…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

715 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