SUMMARY
Secondary (non-boot) disks deploy in an offline state in Azure
ISSUE
For Microsoft virtual machines deployed to Azure the secondary (non-boot) disks are offline after deployment.
RESOLUTION
For secondary disks to boot up in Azure the SAN policy needs to be set to OnlineAll before the snapshot is replicated. Here are the steps to enable it:
- Log into your Microsoft virtual machine.
- Open an administrative command prompt and run "diskpart.exe"
- Running "san" here will display the current policy.
- Run "san policy=OnlineAll" and exit diskpart.
Microsoft's page for this policy is documented here: https://technet.microsoft.com/en-us/library/gg252636.aspx