For Windows VMs, to enable disks to be brought online as part of a conversion, enable SAN policy for the source VM.
Before You Begin
- Install an Azure virtual machine agent on the source VM. For more information, see "Complete the recommended configurations" in Prepare the virtual hard disk to upload to Azure.
Procedure
-
Open a command line or PowerShell session locally on the VM.
-
Open the disk partition tool using the following command:
C:> diskpart
-
Verify that the SAN policy is set to Offline Shared:
DISKPART> SAN SAN Policy : Offline Shared
-
Change the policy to OnlineAll:
DISKPART> SAN POLICY=OnlineAll