Solved

Unable to increase VMFS5 datastore on ESXi 6.0 free hypervisor

Posted on 2016-10-28
4
115 Views
Last Modified: 2016-11-22
I am trying to increase the datastore and running in to an error.

We are working with a Dell Poweredge T630 with a PERCH 330 RAID controller.
We have increased the RAID virtual disk from 2TB to 4TB.
I have rescanned and VMware does see the new storage available; see screenshot attached.
I click on "Increase" and get the error:

Call "HostDatastoreSystem.QueryAvailableDisksForVmfs" for object "ha-datastoresystem" on ESXi "192.168.x.x" failed.

192.168.x.x is the IP address of the host. What am I missing here? Thanks in advance.
1.PNG
0
Comment
Question by:CCtech
  • 2
  • 2
4 Comments
 
LVL 119
ID: 41864636
You have ran into the common problem, it looks like, is your ESXi OS also installed on the same RAID virtual disk ?

and as such, Increasing the VMFS datastore is not supported from the GUI and can give you an error message, as you have seen, and it's because the method in which the VMFS datastore is expanded, by creating a new partition, but a new partition cannot be created, because 4 partitions already exist.

So you will need to use partUtil

Using the partedUtil command line utility on ESXi and ESX (1036609)

Growing a local datastore from the command line in vSphere ESXi (2002461)

Using partUtil is complicated and it may be quicker and easier to re-install ESXi to an SD card/USB flash drive, and backup and restore your VMs.

This is one of the many recommendations to install ESXi on a USB flash drive or SD card. So you can then use the entire virtual disk, as a datastore.
0
 
LVL 1

Author Comment

by:CCtech
ID: 41865146
Thanks Andrew,

The  server does have SD cards and ESXi does appear to be installed on them.

I have found the partition table is MSDOS and not GPT. Very strange, I have not run in to this on any other host in the past. The server was shipped from Dell with ESXi installed, I'm wondering at what point MSDOS is used, as GPT is the default:

https://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.vsphere.storage.doc/GUID-5E7B4EBC-2147-42F9-...

I see another person with the same issue on a Dell server with factory shipped MSDOS partition format, who tried to expand via CLI and could not:

https://communities.vmware.com/thread/476720?start=0&tstart=0

Very strange. VMware KB for upgrading VMFS3 to VMFS5 shows the partition format will change to GPT automatically once datastore is expanded past 2TB, however this was obviously VMFS5 from scratch. If ESXi can automatically convert to GPT after an upgrade from VMFS3 to VMFS5, one would think ESXi has the capability to do so even if you have not onverted from VMFS3 to VMFS5, right?

Or, is the only option blow away the datastore; create new datastore using all available space, restore VMs?

On a side note, the storage shows 1.63TB, not 2 so still strange I cannot increase to at least 2TB...
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 41865191
Looking at that partition, it would suggest ESXi is installed on the disks. (or was).

As is, either use console and partUtil, or reformat.

Or, is the only option blow away the datastore; create new datastore using all available space, restore VMs?

You need to erase the entire virtual disk, not just the datastore.
0
 
LVL 1

Author Closing Comment

by:CCtech
ID: 41866826
Thanks Andrew we will proceed with the rebuild and restore.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

831 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