1748246 Members
2973 Online
108760 Solutions
New Discussion юеВ

Virtual disk resize

 
SOLVED
Go to solution
Ajit Thakur
New Member

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 4
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
New Member

Re: Virtual disk resize

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

Thank you ravi