How to increase disk provisioning in ESXi 5

Rupert Eghardt
Rupert Eghardt used Ask the Experts™
on
Hi Guys,

I increased the storage on a VMWare ESXi 5.x server by adding another disk to the server.

I managed to expand the storage of the Datastore.

I am now trying to increase the disk provisioning space for the virtual machine, but I seem to be having some challenges.
I powered off the virtual machine, but the Disk Provisioning section stays grayed out.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kenza CohenIT Solutions Provider

Commented:
You could use command line:

vmkfstools -X 6G -d eagerzeroedthick vm.vmdk

vm.vmdk would be the disk image and the 6GB you can change to the size you would like it to be

As with any operation on a disk make sure you back it up first.

cp olddisk.vmdk olddisk_backup.vmdk

Once this is done you would need to go ahead and deal with the partition table in the Guest OS
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
If the items are grayed out, it's because the disk in it's current state does not support expansion.

Is the disk IDE ?

does the disk have a snapshot ?

please see my EE Article

HOW TO:  Resize a VMware (VMDK) Virtual Disk
Rupert EghardtProgrammer

Author

Commented:
Hi Andrew,

The physical hardware is IBM SAS drives
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Rupert EghardtProgrammer

Author

Commented:
I've noticed under snapshot manager, there is a snapshot listed from last year.
Should I delete this snapshot, will this enable the disk provisioning options?
Kenza CohenIT Solutions Provider

Commented:
If you are confident that you no longer need the snapshot then this should be fine :)
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
It's nothing to do with Physical drives

Snapshots will prevent disk expansion.

You cannot expand the virtual disk with a snapshot present.

Yes if the snapshot is removed you will be able to expand the vitual disk.

Do you understand what a snapshot is and it's behaviour before deleting it ?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial