Solved

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

Posted on 2012-03-15
6
515 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 117
ID: 37725111
0
 
LVL 117
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

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 117

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

760 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

16 Experts available now in Live!

Get 1:1 Help Now