I have ESXi 4 on a home-built server with a 925GB RAID5 array (adaptec 2405 card) with a single Centos5.4 VM running on it. The VM has a provisioned size of 20GB which I can't seem to increase using the vSphere client. Now I would like to either increase the size of the Centos VM to use more of the free space or I would like to somehow use the datastore as another volume that can be easily accessed from the Centos VM. Does anyone know how to achieve this? Thanks.
What have you tried from the vSphere client?
Is the virtual machine powered off? Are there any snapshots on the virtual machine?
The machine needs to be powered off and without snapshots before resizing the drive. After you resize the virtual disk you can use gParted and/or LVM tools to resize the partition.
You could also create a new vmdk file with the desired size and add it to your CentOS VM as another drive.