After restore of the Windows instance, the disk is in an offline state
When you restore the Windows instance, the disk that is attached to the instance is in an offline state. The disk does not appear online automatically for Windows instances after the restore.
To make the disk appear online automatically after the restore, update SAN policy to before backup of the instance.
To update the SAN policy
- Run Windows command prompt as an administrator.
- Type diskpart and press Enter.
- Type san and press Enter to view the current SAN policy.
- Type san POLICY=OnlineAll and press Enter to update the SAN policy to OnlineAll.
Note:
This issue is applicable only for Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, and Windows Server 2012.