Академический Документы
Профессиональный Документы
Культура Документы
About the author: Saravana Kumar is working as Senior QA Engineer for IBM
Policy Atlas team under ECM. Reach out to him at saravkkb@in.ibm.com
Introduction
Today many engineering teams in worldwide, uses more Virtual environment for their
test and development activities than physical machines.
While configuring and installing an OS, we find later on that more space is needed on
the primary partition. One could argue why not install one more virtual hard drive and
use it. Well there are a number of software that will work only from the primary partition.
This paper will guide step by step on how to increase the virtual hard disk on a VMware
ESX server which has and which doesn't have snapshots.
Snapshot
Snapshots are not complete copies of the original vmdk disk files. Taking a snapshot does
not create a complete copy of the original vmdk disk file, rather it only copies the delta
disks. The change log in the snapshot file combines with the original disk files to make
up the current state of the virtual machine. If the base disks are deleted, the snapshot files
are useless.
Increasing a VM Disk
VM which doesn't have snapshot:
Increasing the hard disk in ESX server:
1. Shutdown the VM Image
2. Ensure you have taken backup of the existing files(mainly all the .vmdk
files)
3. Login to ESX console as root
4. Run the following command to increase the size to the new specified size
4. From the BIOS choose the boot from CD-ROM Device option
5. From the VM CD/DVD Drive map to the Gparted Live ISO which is in
your hard disk or ESX data store.
6. Once this is done Exit the BIOS by choosing Exit Saving Changes
10. Select the boot partition and choose the Resize/Move option
11. Now, drag the arrow in the box till the end of the available disk space
13. Once done primary partition will start growing the disk
14. Wait of the growing option to complete, until you get complete screen
15. We are almost at the final step now Choose the exit option and select
Reboot radio button
16. Once VM is rebooted, Operating system will run the CHKDSK (In
windows) or FSCK (Linux) command to check the file system integrity
10
17. Now, you can check your Hard disk space after logging into your
machine.
delete it. When we are in such situation the only option we have is to clone the VM to
another machine and increase the size by following the steps mentioned above and under:
Conclusion:
We have ever-increasing requirements, release after release. Engineering teams face
many times the situation of installing more software in the available VMs. Tools like
VMware , Gparted live ISO comes handy in increasing the hard disk space. Raising the
IT ticket for the same involves lot of manual and time involved. Instead one can DIY by
following the mentioned steps.
12