VMware Storage vMotion fails on virtual disks configured as independent-persistent
search cancel

VMware Storage vMotion fails on virtual disks configured as independent-persistent

book

Article ID: 339794

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

You are experiencing these issues:
  • VMware Storage VMotion fails to migrate virtual machine disks that are configured as independent disks.
  • .vmdk files similar to this are on the source datastore:

    DMotion-scsi0:02_RHEL4SVM_TEST1_2-delta.vmdk


Environment

VMware VirtualCenter 2.5.x
VMware ESX Server 3.5.x

Resolution

This is a known issue. As a work around, temporarily change the disk type to persistent and migrate the virtual machine disks.

To change a disk to persistent:

  1. Power off the virtual machine.
  2. Click Edit Virtual Machine Settings.
  3. Select the Hard Disk.
  4. Uncheck the Independent Mode field.
  5. Click OK.
Examples of .vmx file parameters
  1. Persistent hardisk without selecting either of the two independent modes:

    scsi0:0.present = "true"
    scsi0:0.fileName = "ind.vmdk"
    scsi0:0.deviceType = "scsi-hardDisk"
  2. Independent-Persistent mode:

    scsi0:0.present = "true"
    scsi0:0.fileName = "ind.vmdk"
    scsi0:0.mode = "independent-persistent"
    scsi0:0.deviceType = "scsi-hardDisk"
  3. Independent-Nonpersistent mode:

    scsi0:0.present = "true"
    scsi0:0.fileName = "ind.vmdk"
    scsi0:0.mode = "independent-nonpersistent"
    scsi0:0.deviceType = "scsi-hardDisk"
  4. Normal-Persistent mode:

    scsi0:0.present = "true"
    scsi0:0.fileName = "ind.vmdk"
    scsi0:0.deviceType = "scsi-hardDisk"
    scsi0:0.mode = "persistent"