Converting a virtual IDE disk to a virtual SCSI disk

 在开始用VM VCENTER CONVERTER将物理机转换成虚拟机时,P2V,
那么硬盘的类型可能会是IDE,而不是更新的LSILOGIC。
不能增加硬盘容量,更别说减小了。(减少好费时间,我曾想减小一个850G的虚拟IDE硬盘,怕太影响生产环境,放弃了)
VM WARE官方提供了解决办法:
关键布置很简单:
  1. Locate the datastore path where the virtual machine resides.
    For example: # cd /vmfs/volumes/<datastore_name>/<vm_name>/
  2. From the ESX Service Console, open the primary disk (.vmdk) using the vi editor. For more information, see  Editing files on an ESX host using vi or nano (1020302)
  3. Look for the line:
    ddb.adapterType = "ide"
  4. To change the adapter type to LSI Logic change the line to: ddb.adapterType = "lsilogic"
    To change the adapter type to Bus Logic change the line to:
    ddb.adapterType = "buslogic"
  5. Save the file.
  6. From VMware Infrastructure/vSphere Client:
    1. Click Edit Settings for the virtual machine.
    2. Select the IDE virtual disk.
    3. Choose to Remove the Disk from the virtual machine.
    4. Click OK.
      Caution: Make sure that you do not choose delete from disk.
  7. From the Edit Settings menu for this virtual machine:
    1. Click Add > Hard Disk > Use Existing Virtual Disk.
    2. Navigate to the location of the disk and select to add it into the virtual machine.
    3. Choose the same controller as in Step 3 as the adapter type. The SCSI ID should read SCSI 0:0.
  8. If a CDROM device exists in the virtual machine it may need to have the IDE channel adjusted from IDE 0:1 to IDE 0:0. If this option is greyed out, remove the CD-ROM from the virtual machine and add it back. This sets it to IDE 0:0.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值