6.5.1

Table Of Contents
VMFS Metadata Updates
A VMFS datastore holds virtual machine files, directories, symbolic links, RDM descriptor files, and so on.
The datastore also maintains a consistent view of all the mapping information for these objects. This
mapping information is called metadata.
Metadata is updated each time you perform datastore or virtual machine management operations.
Examples of operations requiring metadata updates include the following:
n
Creating, growing, or locking a virtual machine file
n
Changing attributes of a file
n
Powering a virtual machine on or off
n
Creating or deleting a VMFS datastore
n
Expanding a VMFS datastore
n
Creating a template
n
Deploying a virtual machine from a template
n
Migrating a virtual machine with vMotion
When metadata changes are made in a shared storage environment, VMFS uses special locking
mechanisms to protect its data and prevent multiple hosts from concurrently writing to the metadata.
VMFS Locking Mechanisms
In a shared storage environment, when multiple hosts access the same VMFS datastore, specific locking
mechanisms are used. These locking mechanisms prevent multiple hosts from concurrently writing to the
metadata and ensure that no data corruption occurs.
Depending on its configuration and the type of underlying storage, a VMFS datastore can use different
types of locking mechanisms. It can exclusively use the atomic test and set locking mechanism (ATS-
only), or use a combination of ATS and SCSI reservations (ATS+SCSI).
ATS-Only Mechanism
For storage devices that support T10 standard-based VAAI specifications, VMFS provides ATS locking,
also called hardware assisted locking. The ATS algorithm supports discrete locking per disk sector. All
newly formatted VMFS5 and VMFS6 datastores use the ATS-only mechanism if the underlying storage
supports it, and never use SCSI reservations.
When you create a multi-extent datastore where ATS is used, vCenter Server filters out non-ATS devices.
This filtering allows you to use only those devices that support the ATS primitive.
In certain cases, you might need to turn off the ATS-only setting for a VMFS5 or VMFS6 datastore. For
information, see Change Locking Mechanism to ATS+SCSI.
vSphere Storage
VMware, Inc. 160