SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/06/22 10:36 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

growvmfsdatastore

Grow VMFS Datastore

With the introduction of vSphere 4 VMware introduced an extra way for increasing the size of VMFS datastores. In previous versions you could add extra extents to increase the size, since vSphere 4 there is also the option available to just grow the datastore. There is one catch though, the space should be adjacent to the current datastore. Of course that is usually not the case but in our environment the storage is on a SAN from NetApp which uses WAFL, which never uses adjacent space in the first place, but tells that to the SAN clients anyway. So increasing the size of a VMFS datastore with NetApp SAN storage has become really easy:

Increase Volume and LUN Size

The first step we have to do is to increase the available space on the LUN where the datastore resides. Open filerview and expand the Volumes section to manage the volumes which show a list. Simply click on the volume you want to increase:
growvmfsdatastore01.jpg
This will show you the volume properties and an option to resize the storage:
growvmfsdatastore02.jpg
This will start a small wizard in which you can enter the new size. When done expand the LUNs section and click the manage LUNs link. This will show you a list of available LUNs and again, simply click on the LUN you want to increase:
growvmfsdatastore03.jpg
This will show you the current LUN properties which can be changes immediately:
growvmfsdatastore04.jpg
A warning will be shown, indicating you should have installed the host utilities on the clients:
growvmfsdatastore05.jpg
When done another informational message will be shown, which can be ignored:
growvmfsdatastore06.jpg
Now the volume and LUN are increased, so now it's time to change the VMFS datastore.

Increase VMFS Datastore Size

In vCenter, select a host with access to the current datastore and to to the configuration tab and select the storage section. After clicking on the 'devices' view you can see the LUN you increased. Note that the new size is not yet visible. You can click refresh (or rescan All) after which the new size of the LUN is visible:
growvmfsdatastore07.jpg
Then click on the 'datastores' view and click Properties:
growvmfsdatastore08.jpg
This will show you the properties of the datastore and gives you an option to increase the size:
growvmfsdatastore09.jpg
After clicking the increase option you'll be shown a wizard. In the first window you should select the current device the datastore resides on. Selecting another device will add an extent which is not what we want. My LUN has lunid 201 so select that one and click next:
growvmfsdatastore10.jpg
In the next window you are shown what will be done regarding to the current layout. As you can see the free space is gonna be used to expand the VMFS volume:
growvmfsdatastore11.jpg
Select here how much of the newly added space will be used:
growvmfsdatastore12.jpg
Review all options and if you're sure this is what you want click finish:
growvmfsdatastore13.jpg
Now you can see the increased capacity and that it's still one extent:
growvmfsdatastore14.jpg
The increased capacity also shows in the 'Datastores' view:
growvmfsdatastore15.jpg

Now the datastore has grown you can move VMs to it using Storage vMotion.

You could leave a comment if you were logged in.
growvmfsdatastore.txt · Last modified: 2013/04/18 20:14 by sjoerd