Solved

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

Posted on 2011-03-06
5
651 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 118
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pass through and VGPU 6 74
Performance Issue Dell / HP Vmware SAP 18 63
Convert VMWare to Hyper-V 8 60
Standalone converter (Shrinking process) 4 49
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

932 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

11 Experts available now in Live!

Get 1:1 Help Now