Extend VMFS volume with VMware vSphere Client

I was setting up a central logging host. I created a Volume through our EqualLogic SAN of 100GB with thin provisioning.  Then created a virtual host through VMware and gave it the entire 100GB of space for the disk.

I had a configuration error that caused my log files to grow to the entire 100GB over night.  So my disk was now very close to 100% used.  According to these helpful links: http://communities.vmware.com/thread/255173 and http://www.equallogic.com/resourcecenter/assetview.aspx?id=5245

A thin-provisioned volume grows automatically due to application data writes. If later the application frees up space, the space is free in the file system but is not returned to the free space in the PS Series pool. The only way to reduce the physical allocation is to create a new volume, copy the application data from the old volume to the new, and then delete the old volume.
o Example: A file share is thin-provisioned with 1 TB logical size. Data is placed into the volume so that the physical allocation grows to 500 GB. Files are deleted from the file system, reducing the reported file system in use to 100 GB. The remaining 400 GB of physical storage remains allocated to this volume in the SAN.
o This issue can also occur with maintenance operations including defragmentation, database re-organization, and other application operations.

So to get around my EqualLogic storage warnings and alarms, I increased the size of my volume to 125GB.  Now I needed to tell VMware about the change in the VMFS size.  I fired up my VMware vSphere client and browsed one of my ESX servers in our cluster.  Some instructions taken from here: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003302

  1. Powered off the virtual host.
  2. Click on the “Configuration” tab and selected the “Storage” link.
  3. Right click the Volume you would like to edit.
  4. You will see the device size listed and the VMFS size listed.  Select the “Increase …” button.
  5. This will open a pop up wizard to add an extent to the VMFS file system.
  6. Follow the prompts for the Add Extent wizard to add an extent.
  7. Perform a rescan on every ESX host that is being presented the new LUN so that the additional of the extent is detected.
  8. Selected the virtual host and edited the hard disk size to the increased 25GB size.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s