An error occurred while adding the local disk in ESXI5.5, and an error occurred in esxi5.5.

Source: Internet
Author: User

An error occurred while adding the local disk in ESXI5.5, and an error occurred in esxi5.5.

On esxi5 (Version 5.0), a gb Western Digital enterprise hard drive was added. It was previously used in Win2008.

When adding storage, an error is reported:

Esxi calls "HostDatastoreSystem. QueryVmfsDatastoreCreateOptions" of the object "ha-datastoresystem" on x"

Go to configuration> Security configuration file to enable the ssh service.

Result The fdisk-l command is unavailable. The following message is displayed:

~ # Fdisk-l
Found valid GPT with protective MBR; using GPT

Use the partedUtil command.

~ # Ls/vmfs/devices/disks or ~ # Ls/dev/disks

You can see the WDC--WD500 ***, This is the newly added disk, followed by the number 1-6 is the number of partitions.

Google did not find the partition to be formatted or deleted.

We plan to use partedUtil delete/dev/disks/t10.ATA _____ WDC_WD5003ABYX2D01WERA0 _ *. This is to delete the partition. The Partition Number is missing after the command, so it fails.

 

PartedUtil-h for help.

Create New Label (all existing data will be lost): mklabel <diskName> <label>

With this option, all data will be lost.

~ # PartedUtil mklabel/dev/disks/t10.ATA _____ wdc_wd5003abyx2d01wera0_________________________wd2dwmayp0181073 msdos

Putty can be used for copying. If the disk name is so long, it is easy to make a mistake.

After this command is executed, there is no output, but with ls, there is no partition under the disk.

 

Adding a disk to the VMware vSphere Client is successful.

In ssh, the new hard drive has one partition.

T10.ATA _____ wdc_wd5003abyx2d01wera0_________________________ wd2dwmayp0181073
T10.ATA _____ wdc_wd5003abyx2d01wera0_________________________ wd2dwmayp0181073: 1

 

Create a new disk for the VM, manually specify the disk storage, and select the Newly Added Disk.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.