Typically, you cannot use logical-volume manager software on virtual machines to mirror virtual disks. However, if your Microsoft Windows virtual machines support dynamic disks, you can protect the virtual machines from an unplanned storage device loss by mirroring virtual disks across two SAN LUNs.

Before you begin

  • Use a Windows virtual machine that supports dynamic disks.

  • Required privilege: Advanced

Procedure

  1. Create a virtual machine with two virtual disks.

    Make sure to place the disks on different datastores.

  2. Log in to your virtual machine and configure the disks as dynamic mirrored disks.

    See Microsoft documentation.

  3. After the disks synchronise, power off the virtual machine.
  4. Change virtual machine settings to allow the use of dynamic disk mirroring.
    1. Right-click the virtual machine and select Edit Settings.
    2. Click the VM Options tab and expand the Advanced menu.
    3. Click Edit Configuration next to Configuration Parameters.
    4. Click Add Row and add the following parameters:

      Name

      Value

      scsi#.returnNoConnectDuringAPD

      True

      scsi#.returnBusyOnNoConnectStatus

      False

    5. Click OK.