Start > Geen categorie > Independent disks – storage vmotion

Independent disks – storage vmotion

3 maart 2010

When you like to do Storage Vmotion of a VM, and this VM has one or more Independent Disks, you are not allowed to do the migration.
All the disks have to be Persistent, but in the vSphere client it’s not possible to do this when the VM is powered on.

You need PowerCLI to realize this:

Connect-VIserver vCenterservername

Get-VM “vmname” | % {Get-HardDisk -VM $_ | Where {$_.Persistence -eq “IndependentPersistent”} | `% {Set-HardDisk -HardDisk $_ -Persistence “Persistent” -Confirm:$false} }

Now, all the disks of that VM became Persistent on the fly, and you are ready do the Storage vMotion!

Kris Nijs Geen categorie

  1. Nog geen reacties.
  1. Nog geen trackbacks.