How to Enable the SAN Policy for Source VM

How to Enable the SAN Policy for Source VM

Servers may have the SAN Policy for new disks configured to “Offline,” meaning that when a VM is restored, its secondary drive(s) will be designated as “offline.” This can prevent the operating system from starting up.

For critical servers, such as Domain Controllers, the SAN policy should be configured to "OnlineAll". This can be done with "diskpart" from the command line:

  1. Open the command prompt on the relevant VM.

  2. Type diskpart to open the disk partition tool.

    C:> diskpart
  3. Type san to verify the SAN policy is set to “Offline Shared”.

    DISKPART> SAN SAN Policy : Offline Shared
  4. Type san policy=OnlineAll to set the policy to “OnlineAll”.

    DISKPART> san policy=OnlineAll

If the original VM had the SAN policy configured to "Offline" and the restored VM does not boot up, boot into "Safe Mode" or "Directory Services Restore Mode (DSRM or ADRM)" and manually configure the second volume to "Online".