Datastore Browser an Error Occurred Please Try Again

VMware and Virtualization Consultant

EE Fellow, MVE, Skillful of the Year 2021,2017-11, Scribe 2016-2012, Author of the Year 2018-6,2013-2012 VMware vExpert Pro, vExpert 2022-2011

Published:

In my previous Experts Exchange Articles, most accept featured Basic and Intermediate VMware and Virtualisation Topics.

If you would like to read my Basic VMware manufactures,  they are listed at the stop of the commodity for your convenience.

During this series of articles VMware released VMware vSphere 5.5 and VMware vSphere Hypervisor ESXi 5.5. These articles are also applicable to VMware vSphere Hypervisor ESXi v.0 and five.v. For consistency, I have used VMware vSphere Hypervisor ESXi 5.1 throughout this serial.

I feel this is a fiddling more advanced, then I've non included it in the Bones VMware article serial, as information technology does require some basic Linux skills and command line usage.

Last week, whilst installing VMware vSphere Hypervisor ESXi 5.v U2 I came across an issue, when trying to add a VMFS5 datastore to an ESXi five.5 U2 server the following fault message was displayed".

Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "datastoreSystem-twenty" on vCenter Server "hostname" failed."

HostDatastoreSystem.QueryVmfsDatastoreCr
and the datastore failed to be created. It surprised me that this issue however exists with VMware vSphere Hypervisor ESXi v.5 U2.

Creating a new VMFS datastore is covered in Step four - Conducting a simple job using the VMware vSphere Customer of this Article -Part 2: HOW TO: Connect to the VMware vSphere Hypervisor v.1 (ESXi 5.ane) using the vSphere Client

In this article nosotros will show y'allHOW TO: Fix An mistake has occurred adding datastores to an ESXi five.x host​. This method can exist used with any version of the VMware vSphere Hypervisor from 5.0 to 5.5.

The outcome is but the VMware vSphere Hypervisor (ESXi), does not understand the existing information on the hard disk or storage array LUN. I've seen the issue when using existing left over disks from previous installations of Windows, Linux or Solaris, even after destroying the contents using the vendor array utilities.

1. Login remotely via SSH or at the panel of the ESXi host server.

Login and connect to the VMware vSphere Host ESXi server which has access to the disks or LUN yous are trying to create the new datastore on.

encounter my previous Experts Exchange article

  •  Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor v.i (ESXi 5.ane)

2. Deleting the existing deejay partitions

There are 2 methods to accost this issue, remove all the individual partitions from the disk, or overwrite the standard partition table that the VMware vSphere Hypervisor (ESXi) tin can deal with. I'm going to use the last method, it's quicker and achieves the same goal.

The supported sectionalisation utility in VMware vSphere Hypervisor ESXi five.x, is called partedUtil.

the command to use is

                      partedUtil mklabel /dev/disks/<disk id> msdos                  

Open in new window

this command replaces the partition table on the deejay, with a legacy msdos partition tabular array, recall MS DOS? - ("Toto, I don't call back nosotros're in DOS anymore"). The legacy MS DOS sectionalisation table is a partition table, with which VMware vSphere Hypervisor (ESXi) can deal with, remove and create the VMFS5 datastore. Delight Notation:this willERASE ALL Information on the deejay specified, and then it'due south important to specify the correct disk.

3. How do we find the correct disk?

At the console prompt type, the post-obit this will testify your disks or LUNs on your VMware vSphere Hypervisor (ESXi) host server.

                      ls -al /dev/disks                  

Open in new window

show-disks1.jpg
the above screenshot shows the disks attached to the VMware vSphere Hypervisor (ESXi), partitions are shown equally :i, :2, :3, :4.

The "vml." listings are symbolic links to your disks, which start with mpx.vmhba:C0:20:XX:Twenty:Y or they could be listed as "naa.".

4. Erasing the Partitioning

Bank check you have identified the correct disk to delete.Delight NOTE:this volitionERASE ALL DATA on the disk specified, so it's of import to specify the correct disk.

In this tutorial I'1000 going to delete the partition on disk

vml.0000000000766d686261313a333a30 -> mpx.vmhba1:C0:T3:L0
the  required is mpx.vmhba1:C0:T3:L0

                      partedUtil mklabel /dev/disks/mpx.vmhba1\:C0\:T3\:L0 msdos                  

Open up in new window

in the post-obit screenshot, you can see the partition (:i) has disappeared from the concluding disk -  vml.0000000000766d686261313a333a30 -> mpx.vmhba1:C0:T3:L0

disk-erased.jpg

The disk has been erased.

Congratulations, yous take successfully destroyed the partition, you will now be able to add your VMFS5 datastore correctly without the mistake Telephone call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "datastoreSystem-xx" on vCenter Server "hostname" failed."

Bones VMware Manufactures:

  • Function 1: HOW TO: Install and Configure VMware vSphere Hypervisor 5.1 (ESXi 5.one)
  • Part 2: HOW TO: Connect to the VMware vSphere Hypervisor 5.1 (ESXi 5.1) using the vSphere Client
  • Function three: HOW TO: Create an ISO CD-ROM/DVD-ROM epitome (*.iso), and MD5 checksum signature, for employ with VMware vSphere Hypervisor five.1 (ESXi 5.1)
  • Function 4: HOW TO: Upload an ISO CD-ROM/DVD-ROM image to a VMware datastore for utilize with VMware vSphere Hypervisor 5.1 (ESXi v.1) using the vSphere Client, and checking its MD5 checksum signature is correct.
  • Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.one (ESXi 5.i)
  • Part 6: HOW TO: Create your first Linux Virtual Machine on a VMware vSphere Hypervisor 5.1 (ESXi five.ane) Host Server
  • Part vii: HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 5.one (ESXi 5.1) Host Server
  • Part 8: HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi five.1) Host Server
  • Part 9: HOW TO: Install VMware Tools for Linux on a VMware Linux virtual auto on a VMware vSphere Hypervisor v.i (ESXi five.i) Host Server
  • Part 10: HOW TO: Backup (Consign) and Restore (Import) virtual machines to VMware vSphere Hypervisor 5.i for FREE
  • Part 11: HOW TO: Suppress Configuration Problems System logs on host are stored on non-persistent storage
  • Part 12: HOW TO: Configure and Supercede the SSL Certificate on a VMware vSphere Hypervisor 5.1 (ESXi 5.i) Host Server
  • ​Part xiii: HOW TO: Configure basic networking on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server

****************************************************************************
Thank you for reading my commodity, please leave valuable feedback. If you liked my VMware commodity and would like to see more than Articles from me, delight click the Yes push button virtually the:Was this article helpful? at the lesser of this article just beneath and to the right of this information. Thank You lot. Practise not forget if y'all have a question about this article or another VMware, Virtualisation, Windows Server 2012 question, why not mail service a Question for me and the other Experts Substitution Experts in the VMware, Virtualisation, Windows 2008, Windows 2012 Zones. I look frontwards to hearing from you. - Andy :- twitter @einsteinagogo
****************************************************************************

smithsonhuented.blogspot.com

Source: https://www.experts-exchange.com/articles/17304/HOW-TO-Fix-An-error-has-occurred-adding-datastores-to-an-ESXi-5-x-host.html

0 Response to "Datastore Browser an Error Occurred Please Try Again"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel