Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230613

Re: move-vm - The specified delta disk format 'redoLogFormat' is not supported

$
0
0

Let's try a simple approach and let SDRS do it's work.

Test with 1 of the problematic VMs.

 

$vmName='MyVM'

$dscName='TargetDSC'

 

$vm=Get-VM-Name$vmName

$dsc=Get-DatastoreCluster-Name$dscName

 

$storMgr=Get-ViewStorageResourceManager

 

$spec=New-ObjectVMware.Vim.StoragePlacementSpec

$spec.RelocateSpec =New-ObjectVMware.Vim.VirtualMachineRelocateSpec

$spec.Vm =$vm.ExtensionData.MoRef

$spec.PodSelectionSpec =New-ObjectVMware.Vim.StorageDrsPodSelectionSpec

$spec.PodSelectionSpec.StoragePod =$dsc.ExtensionData.MoRef

$spec.Type =[VMware.Vim.StoragePlacementSpecPlacementType]::relocate

 

$recommendations=$storMgr.RecommendDatastores($spec)

 

$recommendations.Recommendations |ForEach-Object-Process {

    $storMgr.ApplyStorageDrsRecommendation($_.Key)

}

 


Viewing all articles
Browse latest Browse all 230613

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>