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