VMware Cloud Community
jitendrakmr
Hot Shot
Hot Shot
Jump to solution

Expanding VMFS datastore

Hello Everyone,

I am running out of space on a LUN holding VMFS datastore on which 8 VMs are already running. I need to get more space on this same LUN because I dont want to use extents to add more space on existing datastore. I am planning to ask storage team in my company to add more space on existing LUN; so once this is done then is there any way I can expand the existing VMFS datastore to assign the increased space?

Thanks.

Jitendra Kumar

MCSE 2003, VCP, CCNA, ITIL Foundation

VCP, MCSE 2003, MCITP Enterprise Admin, CCNA, ITIL Foundation, Netapp NS0-153 (Storage Networking) Personal Website - http://www.virtualizationtrainings.com, http://www.hillsindia.com
Reply
0 Kudos
1 Solution

Accepted Solutions
mittim12
Immortal
Immortal
Jump to solution

I think your only options are going to be the use of an extent or deleting the datastore and recreating it once the LUN has been expanded. If this is shared storage you could easily move the VM's with storage motion if you have temporary capacity on another LUN.

If you found this or any other post helpful please consider the use of the Helpfull/Correct buttons to award points

View solution in original post

Reply
0 Kudos
4 Replies
mittim12
Immortal
Immortal
Jump to solution

I think your only options are going to be the use of an extent or deleting the datastore and recreating it once the LUN has been expanded. If this is shared storage you could easily move the VM's with storage motion if you have temporary capacity on another LUN.

If you found this or any other post helpful please consider the use of the Helpfull/Correct buttons to award points

Reply
0 Kudos
rpartmann
Hot Shot
Hot Shot
Jump to solution

Hi,

as far as i know is there no way to expand the VMFS volume without extensions.

You could backup your vm´s and reformat the increased LUN and then restore your vm´s.

kind regards,

Reinhard.






ps: Award points if you find answers helpful. Thanks.

ps: Award points if you find answers helpful. Thanks.
Reply
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

mittim12 is correct. You can not expand an existing VMFS volumes by extending the LUN underneath. Your only option is to use an extent to increase the datastore size, but the LUN itself can not be modified.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
Texiwill
Leadership
Leadership
Jump to solution

Hello,

Not that it can not be modified, you can, but the only way to do it would be to add a second partition, you would then have to add that partition to the VMFS as an extent. Note that locking in ESX locks the entire LUN or LUNs conntected to the VMFS, so if the extent is part of the VMFS already on the LUN it will get locked with it which is fine. That would be the only way to increase the size without destroying and recreating...

But even so I would not do this. I would either create a second LUN and therefore second VMFS. Or recreate the LUN. Remember, more LUNs are better than 1 giant LUN. You get less SCSI Reservation conflicts with more LUNs generally.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354, As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill