Extend VMFS Datastore in VMware vShpere

When your VMFS Datastore in VMware ESX 3.x was running out of disk space, you had 2 options. One was to move all of the VM’s on that Datastore to a new VMFS Datastore with more space avaliable or increase the Lun on your storage and add a extend to the excisting Datastore. There are many blog writting if it’s wise to add a extend to a Datastore.

Now with vSphere it’s easy to increase the size of your VMFS Datastore if you have the space avaliable on your lun.

Here my setup. 2 vSphere servers with vCenter installed. I have one Lun on a NetApp. The lun is 15GB big with I created a 10GB VMFS datastore on it.

no images were found

Select the properties of the Datastore and click on Increase.

no images were found

Notice that on the same Lun the Datastore excits Expandable is marked as: Yes

no images were found

You will see the free space avaliable. In my case 5GB.

no images were found

Select the size you want to add to the Datastore.

no images were found

A summary it displayed. If you agree select Finish.

no images were found

When the action is finished you will see that the Capacity is increased. In my case 15GB.

no images were found

To prove there is no second partition. Here a screenshot from the Service Console with fdisk (fdisk -l).

no images were found

As you can see, now it’s pretty easy to extend a excisting VMFS Datastore.

About Michael
Michael Wilmsen is a VMware training/consultant (no specific order) with more than 15 years in the IT industry. Main focus is VMware vSphere, Horizon View and Site Recovery Manager with a deepdive to performance. Michael is VCDX 210, VCAP 4/5 certified, has been rewarded with the vExpert title from 2011, is a PernixPro, Nutanix Tech Champion and a Nutanix Platform Professional.

14 Comments to “Extend VMFS Datastore in VMware vShpere”

  1. By Stanley, December 8, 2010 @ 19:59

    I am having a problem in getting the datastore to see the storage in the NETAPP Fibre Channel Disk that I just ecxpaned from 300GB to 450GB.
    When i try to expand my datastore on the Volume-Properties screen it shows the datastore with 300gb and the
    Extent sub-box shows Extent=NETAPP Fibre Channel Disk (…, Capacity= 300gb:

    the Device sub-box shows Primary Partition, Device = NETAPP Fibre Channel Disk (… 1, Capacity= 450GB,
    Primary Parations: 1. VMFS, Capacity= 30GB

    When i click on the Increase… button the Increase Datastore Capacity screen does not show any LUN. Therefore I cannot continue to get the 450 GB NETAPP Fibre Channel Disk added to the availablilty to the 300GB Datastore.

  2. By Stanley, December 8, 2010 @ 19:59

    I am having a problem in getting the datastore to see the storage in the NETAPP Fibre Channel Disk that I just ecxpaned from 300GB to 450GB.
    When i try to expand my datastore on the Volume-Properties screen it shows the datastore with 300gb and the
    Extent sub-box shows Extent=NETAPP Fibre Channel Disk (…, Capacity= 300gb:

    the Device sub-box shows Primary Partition, Device = NETAPP Fibre Channel Disk (… 1, Capacity= 450GB,
    Primary Parations: 1. VMFS, Capacity= 30GB

    When i click on the Increase… button the Increase Datastore Capacity screen does not show any LUN. Therefore I cannot continue to get the 450 GB NETAPP Fibre Channel Disk added to the availablilty to the 300GB Datastore.

  3. By Stanley, December 8, 2010 @ 20:35

    Found the cause of my problem. I was signing in to the vShpere client as Localhost. I should have been signing in to the host machine name or IP address.

  4. By Stanley, December 8, 2010 @ 20:35

    Found the cause of my problem. I was signing in to the vShpere client as Localhost. I should have been signing in to the host machine name or IP address.

  5. By Martin, January 20, 2011 @ 16:54

    Hi Stanley & Mike

    Same problem, Same soulution ;o)
    Work’s also with vCenter 4.1 & ESX 4.1

    Cheers.

  6. By Martin, January 20, 2011 @ 16:54

    Hi Stanley & Mike

    Same problem, Same soulution ;o)
    Work’s also with vCenter 4.1 & ESX 4.1

    Cheers.

  7. By Mike, January 21, 2011 @ 15:14

    Martin,

    Have done a rescann all? And how big is your lun and with what block size?

  8. By Mike, January 21, 2011 @ 15:14

    Martin,

    Have done a rescann all? And how big is your lun and with what block size?

  9. By Pete, February 19, 2011 @ 21:08

    Same Problem, but not sure of solution. I have logged in as the default root, using vsphere directly to the ip of the ESXi server. When I go to increase I do not see the LUN, as above the properties show the added disk space. I am still using evaualtion mode. Would this stop me from perfoming this function? otherwise am I logging in with the proper crendentials? I am a vmware newbie….

  10. By Pete, February 19, 2011 @ 21:08

    Same Problem, but not sure of solution. I have logged in as the default root, using vsphere directly to the ip of the ESXi server. When I go to increase I do not see the LUN, as above the properties show the added disk space. I am still using evaualtion mode. Would this stop me from perfoming this function? otherwise am I logging in with the proper crendentials? I am a vmware newbie….

  11. By Mike, February 21, 2011 @ 10:49

    @Pete: do the luns show up in the storage adapter section under configuration?

  12. By Mike, February 21, 2011 @ 10:49

    @Pete: do the luns show up in the storage adapter section under configuration?

RSS feed for comments on this post. TrackBack URI

Leave a Reply

You must be logged in to post a comment.