I’ve been playing around with my vSphere/Next gen ESX lab. I was replaying the VMworld lab and one of the assignments was to resize a VMFS volume. Yes that’s correct, resize not extent. Extents have been discussed by many and the general consensus is avoid them if/when possible. But when running out of diskspace you don’t always have the option to avoid them. Some can’t afford the downtime that comes with a “cold migration”, and most aren’t willing to take the risk of using storage vmotion when running out of diskspace. (Snapshot is placed on source VMFS volume) This has all been solved in the next version of ESX/vCenter. You can resize your VMFS volume without resorting to extents, and you can do this with the vCenter client.
The original size:
First thing you will need to do is increase the size of the LUN on your SAN. If your SAN doesn’t support LUN resizing you can still do it the old fashion way, extent.
Next would be rescan your HBA, you all know how to do this, no point of showing a screenshot. Next up would be resizing your VMFS volume. Right click on your VMFS volumes and click properties on your LUN and check if it has grown:
As you can see above it’s a 58GB LUN, now next screenshot will show you how much freespace there’s left on the LUN:
Fully utilize the LUN or keep some diskspace on the LUN:
Are you sure you want to resize it?
No endless discussions anymore on the use of extents, just resize the volume!