[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Can't increase datastore size in VMWare ESXi 5.1

Posted on 2012-12-26
4
Medium Priority
?
4,844 Views
Last Modified: 2016-11-23
The option to increase datastore size is grayed out in vSphere client, when I expected it to be available.

This is an ESXi 5.1 box that was upgraded from 4.1 several months ago. Dell r610 with both internal RAID 5 storage and external local RAID storage (Dell PERC h800 controlling an MD1220 hard drive array). Running fine as v 5.1 for months.  All the data stores are VMSF 5.

datastore_ext is located on the external hard drive array. Last night I successfully added a 600gb drive to the array; the virtual disk increased from 1TG to 1.6TB. VMWare sees the drive as having 1.6 TB, but I don't see a way of expanding the datastore or extent.

The datastore remained intact through the expansion of the virtual disk-- it still functions correctly.

increase datastore size grayed out
0
Comment
Question by:dakota5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 38721283
sometimes this can occur.

can you delete the existing vmfs partition, and recreate? this is the easiest option.

or you will need to use the command line partutil command to increase the vmfs partition.

see here

http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&popup=true&languageId=&externalID=2002461
0
 

Author Comment

by:dakota5
ID: 38721737
The link you referenced is terrific.  If I recreate the VMFS partition (this is not the boot device), is there a different type of partition I can create (extended, instead of primary, for example) that will allow me to use vSphere Client to easily expand it?

I don't want to go through command line fixes each time I add to the RAID.  Hard to believe that all local storage is so hard to expand.
0
 
LVL 123
ID: 38721746
there is an issue if you already have four primary partitions on the disk, it cannot expand the vmfs partition and you need to expand the partition at the command line, but this is not your issue.

but Ive seen this issue many times, and the workaround is always to use the command line.

so sorry to have to be the bearer of bad news.

if  you want to use the GUI, Backup VMs which you always do anyway, delete the vmfs partition, create new partition, and restore vms.
0
 

Author Closing Comment

by:dakota5
ID: 38722200
In my case (spent an hour on the phone with VMWare) it was more complicated.  Perhaps because of upgrades from v3.x, to 4.x to 5.1, my datastores were flagged as snapshots.
(could only see this by looking at the log in a console session).

  The two step command line process of
1.  extending the partition  (worked)
2.  growing the datastore (failed)
because datastore was a snapshot.
Then needed (in vSphere client) to unmount the datastore, then remount it with a new signature.  All of the virtual disks in the VMs in inventory pointed to a non-existent (old signature) datastore.  Needed to repoint the vms to hard disks in the updated (new signature) datastore.  And it worked.

Now, the increase button is no longer grayed out, even though there is no space, right now, in the raid.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question