When a storage device contains a VMFS datastore copy, ESXi detects the copy. You can mount the datastore copy with the original datastore UUID or change the UUID. The process of changing the UUID is called datastore resignaturing.

Each VMFS datastore created on a storage device has a unique signature, also called UUID, that is stored in the file system superblock. When the storage device is replicated or its snapshot is taken on the array side, the resulting device copy is identical, byte-for-byte, with the original device. For example, if the original storage device contains a VMFS datastore with UUIDX, the copy appears to contain a datastore copy with the same UUIDX.

In addition to LUN snapshots and replications, certain device operations, such as LUN ID changes, might produce a copy of the original datastore.

After the ESXi host detects the VMFS datastore copy, you can mount the datastore copy with its original UUID or change the UUID using the datastore resignaturing.

Whether you select resignaturing or mounting without resignaturing depends on how the LUNs are masked in the storage environment. If your hosts can see both copies of the LUN, then resignaturing is the optimal method.

Keeping Existing Datastore Signature

If you do not need to resignature a VMFS datastore copy, you can mount it without changing its signature.

You can keep the signature if, for example, you maintain synchronized copies of virtual machines at a secondary site as part of a disaster recovery plan. In the event of a disaster at the primary site, you mount the datastore copy and power on the virtual machines at the secondary site.

Resignaturing a VMFS Datastore Copy

Use datastore resignaturing if you want to retain the data stored on the VMFS datastore copy.

When resignaturing a VMFS copy, ESXi assigns a new signature (UUID) to the copy, and mounts the copy as a datastore distinct from the original. All references to the original signature in virtual machine configuration files are updated.

When you perform datastore resignaturing, consider the following points:

  • Datastore resignaturing is irreversible.
  • After resignaturing, the storage device replica that contained the VMFS copy is no longer treated as a replica.
  • A spanned datastore can be resignatured only if all its extents are online.
  • The resignaturing process is fault tolerant. If the process is interrupted, you can resume it later.
  • You can mount the new VMFS datastore without a risk of its UUID conflicting with UUIDs of any other datastore from the hierarchy of device snapshots.

Mount a VMFS Datastore Copy

Use datastore resignaturing if you want to retain the data stored on the VMFS datastore copy. If you do not need to resignature the VMFS datastore copy, you can mount it without changing its signature.

Prerequisites

  • Perform a storage rescan on your host to update the view of storage devices presented to the host.
  • Unmount the original VMFS datastore that has the same UUID as the copy you plan to mount. You can mount the VMFS datastore copy only if it does not collide with the original VMFS datastore.

Procedure

  1. In the vSphere Client object navigator, browse to a host, a cluster, or a data center.
  2. From the right-click menu, select Storage > New Datastore.
  3. Select VMFS as the datastore type.
  4. Enter the datastore name and if necessary, select the placement location for the datastore.
  5. From the list of storage devices, select the device that has a specific value displayed in the Snapshot Volume column.
    The value present in the Snapshot Volume column indicates that the device is a copy that contains a copy of an existing VMFS datastore.
  6. Mount the datastore.
    Option Description
    Mount with resignaturing Under Mount Options, select Assign a New Signature and click Next .
    Mount without resignaturing Under Mount Options, select Keep Existing Signature.
  7. Review the datastore configuration information and click Finish.
  8. To make sure that the storage is presented uniformly to all hosts in the cluster, perform a rescan.