[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Expand existing VMware Server 1.0.9 Guest Drive C & D

Posted on 2011-09-23
6
Medium Priority
?
681 Views
Last Modified: 2012-05-12
Hello everyone,

My host is Server 2003 R2.

My guest VMs are Server 2000 & NT4

My C: & D: drives are running out of space. I have cleared out all temp files and removed any unnecessary programs and relocated the pagefile. In addition I have already added an E: drive.

Without upgrading is it possible to increase a Guest VM Disk under VMware Server 1.0.9 with a special utility or command line program?

- Tom
0
Comment
Question by:mcit0331
  • 4
  • 2
6 Comments
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 36589492
Yes, you use

the C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager -x {diskSize}GB "c:\vm\yourvm.vmdk"

that increases the disk, and then you need to increase the OS partition inside the VM.

Before making any changes to the partition structure of the disk, ensure you have a full backup, not a snapshot.

1. Resize partition with Gparted Live CDROM

i. Download Gparted Live CDROM (http://gparted.sourceforge.net/livecd.php).

ii. Upload the cdrom iso to the vSphere ESX/ESXi datastore.

iii. Mount the cdrom or iso on the virtual machine.

iv. Shutdown and restart the virtual machine booting from the cdrom.


v. Select Resize partition.

Here is a Tutorial Walkthorugh of how to resize a partition with a GParted Live CDROM

http://gparted.sourceforge.net/larry/resize/resizing.htm

http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/


2. Using DISKPART.exe

(the system disk cannot be re-sized within the virtual machine, but other disks can be resized, eg. D: E: etc

i. Shutdown the virtual machine.
ii. Remove disks from virtual machine (but do not delete them).
iii. Add the disks to another virtual machine.
iv. Start up virtual machine.
v. Use Diskpart in the OS to extend disks.

see here for details on Diskpart usage

http://support.microsoft.com/kb/325590

3.Use VMware Converter Standalone to complete a V2V (virtual to virtual conversion).
there is an option to increase or decrease the size of target disks on the desintation at conversion.

Download VMware vCenter Converter here

http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vcenter_converter_standalone/4_0

VMware vCenter Converter Standalone 4.x Documentation

http://www.vmware.com/support/pubs/converter_pubs.html

VMware vCenter Converter Standalone 4.3 User Guide

http://www.vmware.com/pdf/convsa_43_guide.pdf

For the conversion steps, read fellow Expert Bestway's article.

http://www.experts-exchange.com/Software/VMWare/A_3639-VMware-vConverter-P2V-for-Windows-Servers.html

Best Practice Video Guide here

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004588

Also the VMware KB here

http://kb.vmware.com/kb/1004071
0
 

Author Comment

by:mcit0331
ID: 36589715
Thank you Hanccoka,

I already have VMware Converter Standalone 4.0.1 build 161434 and never even thought of V2V. In your opinion is this the best method?

In addition, in your opinion which is a better choice for the destination disks:

Pre-Allocated
Not Pre-Allocated
2GB Split Pre-allocated
2GB Split not Pre-Allocated

- Tom

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 124
ID: 36589759
Pre-Allocated much faster.

To be honest with you I'm a hands on "old timer", and like to use GpartEd LiveCDROM.

But V2V is easier, because you can expand and increase partition, in in one Process, and you have a backup!

once, you've tested your new VM, you can destroy the original.
0
 

Author Comment

by:mcit0331
ID: 36589855
I just ran the V2V and everything is working great.

For me the VMware Standalone Converter is definitely the way to go.

Thank you Hanccocka.

- Tom
0
 
LVL 124
ID: 36589872
Tom

no problems, thanks

Andy
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
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…
Suggested Courses

829 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