?
Solved

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

Posted on 2012-03-15
6
Medium Priority
?
529 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 124
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 840 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 24

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

840 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