Convert IDE hard drive to SCSI hard disk in ESXi, increase IDE hard disk size

Source: Internet
Author: User
Tags ide hard drive

There is a P2V over the Windows Server R2 virtual machine, because the original disk is the IDE, the virtual machine is also the IDE, the need to increase the hard disk, but when modifying the hard disk, even in the state of the shutdown is grayed out.


After several setbacks, find the following KB, the steps to resolve are as follows:

(1) Open ESXi host SSH login;

Select Host->configuration-"Security profile-" profiles-"ssh-" options-"Start, then click OK."

(2) using SSH to login to ESXi host, CD switch to the virtual machine's hard disk directory

Cd/vmfs/volumes/datastore/vmname

(3) Modify the corresponding hard disk vmdk file, find Ddb.adaptertype, the value of the Ddb.adaptertype in the "IDE" modified to "Lsilogic", then save the vmdk file, the file content is as follows

======================================================

# Disk Descriptorfile

Version=3

Encoding= "UTF-8"

cid=993dc925

Parentcid=ffffffff

Isnativesnapshot= "No"

Createtype= "Vmfs"


# Extent Description

RW 266357700 VMFS "CASCO-DC1-LC-FLAT.VMDK"


# change Tracking File

Changetrackpath= "CASCO-DC1-LC-CTK.VMDK"


# The Disk Data Base

#DDB


Ddb.deletable = "true"

Ddb.geometry.biosHeads = "255"

Ddb.geometry.biosSectors = "63"

Ddb.geometry.biosCylinders = "16580"

Ddb.adaptertype = "Lsilogic"

Ddb.geometry.sectors = "63"

Ddb.geometry.heads = "16"

Ddb.geometry.cylinders = "16383"

Ddb.uuid = "C2 9a FA 2b a6-74 4e C7 4d 1a 6d 68"

Ddb.longcontentid = "52221f36e0f992d5465a8a6b993dc925"

Ddb.virtualhwversion = "7"

Ddb.toolsversion = "8290"

====================end of the VMDK file==========================

(4) Open vsphere Client, select virtual Machine-Right-"edit settings-", select the IDE hard disk to be modified, click "Remove", select "Remove from Virtual machines" (Note: Do not remove from the hard disk )

(5) Store Add->hard disk---use a existing virtual disk, find the need to modify the hard disk VMDK file, add, until the completion.

(6) If there is an IDE CD-ROM, please remove the CD-ROM first.

(7) The size of the hard disk can be modified at this time.

Another: simply want to increase the size of the IDE hard disk, you can manually expand when convert.

Convert IDE hard drive to SCSI hard disk in ESXi, increase IDE hard disk size

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.