JieX's Posts

I normally create new scsi controller first on second node with flat disk, then get scsi name New-HardDisk -VM $vm2 -DiskType flat -CapacityGB 1 | New-ScsiController -BusSharingMode Physical -Type ... See more...
I normally create new scsi controller first on second node with flat disk, then get scsi name New-HardDisk -VM $vm2 -DiskType flat -CapacityGB 1 | New-ScsiController -BusSharingMode Physical -Type ParaVirtual $scsiname2 = ( $vm2 | Get-ScsiController).name[1]   Then, get disk naa id from node 1 and export result to csv Get-VM $vm1 | Get-HardDisk -DiskType RawPhysical | Select @{N='VM';E={$_.Parent.Name}},Name,FileName | Export-Csv -Path .\xxx.csv -UseCulture -NoTypeInformation   Then read result from csv and add them each to node 2   Import-Csv -Path .\xxx.csv -UseCulture | ForEach-Object -Process {   $vm = Get-VM -Name $vm2   New-HardDisk -VM $vm -DiskPath $_.FileName -Controller $scsiname2 }   This should work, I use it each time to mount RDM disk. Please also make sure both servers power off.