Solved

How to login to the esx console and increase the c drive in a VM

Posted on 2011-03-06
5
654 Views
Last Modified: 2012-06-27
How to login to the esx console and increase the c drive in a VM
0
Comment
Question by:Manjugrp
5 Comments
 
LVL 119
ID: 35045300
If you want to manage the ESX server, you would download the vSphere Client from the host ESX server, by using a web browser pointed to the ESX server e.g. http://ip address of the ESX server.

Once you have downloaded the vSphere client, you can edit the properties of the Virtual Machine's hard disk, and extend the virtual disk, but you must then use, a third party tool to extend the OS partition of the VM, e.g. you can use gparted livecdrom for this here http://gparted.sourceforge.net/livecd.php
0
 
LVL 6

Expert Comment

by:ckivml
ID: 35045807
Which version of ESX server u r using
0
 
LVL 6

Expert Comment

by:ckivml
ID: 35045821
if u r using esx 3 or 3.5

Access any of your server through browser

http://ip (ip address of your esx server
if u access that page
then download and install VMware Infrastructure Client from this server
then login to your VMware Management server
select the your sever where u want to increase the C drive capacity
right click >> edit setting
select your harddisk increase the space
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 35046681
As hancoccka indicates this task is most easily accomplished via the gui vSphere (for 4.x) or VMware Infrastructure (for 3.x) client. However, if you really wish to accomplish this via the command line you would use the vmkfstools command with the -X parameter to expand an existing virtual drive. See http://www.esxguide.com/esx/content/view/18/25/ for some instructuctions on using vmkfstools.

For the system drive in a Windows virtual machine you will have to also let the OS know about the new size. This can be accomplised a number of ways: Through a third party tool such as gparted or partition magic (as indicated earlier in this thread) or through utilizing a "helper" vm to expand the OS partition as described in http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007266. If you have Windows 2008 or Vista or later you can extend the drive through the built in disk manager. See http://www.petri.co.il/extend-disk-partition-vista-windows-server-2008.htm for the details.

Good Luck
0
 
LVL 3

Expert Comment

by:Jaydeep_verma
ID: 35048552
There are two parts to increase C drive on a VM.  First would be to increase the VMDK file itself in ESX and then increase the size in the operating system that is Windows.

To increase the VMDK size in Vsphere, if the VM is on a shared storage increase the baseline volume on the storage first.   Browse to the Datastore and click properties and there is a tab for increasing the volume.    the volume would be then increased for the Datastore.

Now once this is done, the underlying Datastore would be increased to accomodate the VM c drive increase.  Now log on to the VM and use third party tools like Partition Magic or if you would like to use free tools then boot using a Linux LIve Cd  and use gparted to increase the drive in an offline VM mode.      

Alternatively,  you can use Windows "extpart" to increase the partition in Windows, but this would take all the additional space into the volume that has been increased using the SAN on teh base volume or the Datastore.   If the volume has to be expanded only uptill a limit and the rest of the space to be given on the other partition, please use any other third party tool

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Enterprise Mode 4 49
Disable Dynamic Resources Management 7 34
Heavy disk access when running multiple VMs. 13 58
VMware - ESXi Cost and features? 2 42
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

827 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