Solved

Increase the size of a c:\  system boot disk in Vmware ESXi4.1

Posted on 2012-03-15
6
516 Views
Last Modified: 2012-06-21
Dear All,

I have an ESX 4.1 with one virtual windows 2008 R2 machine with two partitions.

C:\ -> 40 GB containing the system files + pagefiles.sys
D:\ -> 100 GB containing users datas

I need to increase the c:\ drive from 40Gb to 80 GB. What is the best and safe way to do it?. I read a lot of post on the net but different manners to increase the size.
I Have Vcenter to manage all my ESX server. So I would like to do that that from Vcenter

Thks indvance
0
Comment
Question by:madinina
6 Comments
 
LVL 15

Expert Comment

by:jerseysam
ID: 37725095
Basically YOU NEED TO INCREASE THE SIZE OF THE VIRTUAL DISK IN ITS ENTIRETY AND THEN RESIZE THE C DRIVE PARTION. TAKE A LOOK AT ARTICLES:

http://communities.vmware.com/docs/DOC-7471
http://www.extend-partition.com/resource/vmware-increase-disk-size.html
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004047

See if these provide the easiest way.
0
 
LVL 118
ID: 37725111
0
 
LVL 118
ID: 37725113
some other methods

How to Resize a Partition after Disk Expansion

To re-size a disk, select the Virtual Machine, Select Edit Settings, Highlight the Virtual Hard Disk, and select Edit
there is an option to increase size. This only changes the physical size of the virtual disk, it does not grow the partition on the disk. See below.


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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:madinina
ID: 37725184
Thks to all,

Reading your answer, it is not possible to resize a system drive with Diskpart, corret?.
I would like to avoid using any third party tools.
If I shutdown the server then from an other server, create a disk drive and attached the .vdmk I want to extend. then reattach the extended .vdmk to the first server. Does it make it?
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 280 total points
ID: 37725226
Correct, you cannot resize system drive with Diskpart.

Yes, adding to another VM and using Diskpart is one supported method.
0
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 37727616
You can use extpart but that will not work if there is no free space after c:
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now