Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual disk resize

SOLVED
Go to solution
Ajit Thakur
Occasional Visitor

Virtual disk resize

How I can resize the virtul Disk in Vmware ESX. Is there any step by step guide available on net.
4 REPLIES
Cederberg
Honored Contributor

Re: Virtual disk resize

http://communities.vmware.com/thread/15593

Here is a good link explaning how to expand the vistual disk in wmware esx.
Ravi_Shankar
Frequent Advisor
Solution

Re: Virtual disk resize

You can follow below steps for resizing the virtual disk

Using vmkfstools and System Rescue CD (http://linux.softpedia.com/get/System/Recovery/System-Rescue-CD-188.shtml) to extend a disk

â ¢ Download the System Rescue ISO and make it available so it can be mounted by the virtual machineâ s CD-ROM
â ¢ Shutdown the virtual machine you want to resize
â ¢ Log into the ESX Server console via Putty
â ¢ Type â vmkfstools â X /vmfs/volumes///â ie. /vmfs/volumes/Storage1/my_vm.vmdk New disk size can be specified in kilo, mega or gigabytes and will be the total size of the new disk. So if you want to increase a virtual disk from 20GB to 24GB you would specify either 24000m or 24g
â ¢ Power on the Virtual Machine and make sure it boots properly, load Disk Management and you will see the new unallocated space
â ¢ Now to join the unallocated space to the primary partition, first shutdown the Virtual Machine
â ¢ Connect the Virtual Machine to the System Rescue ISO file and make sure you enable Connected at Power On
â ¢ Power on the Virtual Machine
â ¢ Press ESC at the Bios screen to get to the Boot Menu
â ¢ Select CD-ROM as the Boot device
â ¢ Press Enter at the boot screen
â ¢ Press Enter after boot sequence is complete and then type â startxâ
â ¢ Once X-windows loads, double-click the GpartEd icon (drive icon, 3rd down on the right hand side)
â ¢ Once the partition editor loads, click on /dev/sda1 in the partition list
â ¢ Click the Resize/Move button
â ¢ Click and drag the arrow to extend the size of the partition, make sure you do a resize (double arrow) and not a move (four way arrow) so you should 0 free space preceding and following and then click the Resize/Move button
â ¢ Next click the Apply button and then the operation will start, you can expand Details to see the progress, once completed click the Close button.
â ¢ Click the power button in the bottom right corner, then select reboot.
â ¢ Edit the VM and remove the ISO from the CD/ROM device (change to Client)
â ¢ When the server restarts it will do a Check Disk, let this complete, Windows will prompt for a reboot after you login
â ¢ Reboot and load Disk Management and your Primary Partion will be the new size without any unallocated space
Ravi_Shankar
Frequent Advisor

Re: Virtual disk resize

you can find different ways to resize virtual disk on below link

http://vmware-land.com/Resizing_Virtual_Disks.html
Ajit Thakur
Occasional Visitor

Re: Virtual disk resize

The Link provided by Ravi , worked and we completed the task.

Thank you ravi