Solved

Can't increase datastore size in VMWare ESXi 5.1

Posted on 2012-12-26
4
4,596 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
  • 2
  • 2
4 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 120
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

730 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