Chapter 14. Distributed Locks

By default, a logical unit number (LUN) is not designed to be accessed concurrently by multiple hosts. VMware developed Virtual Machine File System (VMFS), its clustered file system, to allow ESXi hosts concurrent access to shared datastores. To prevent corruption resulting from more than one host writing to the same file or metadata area, an on-disk distributed locking mechanism is used. To put it simply, VMFS “tells” each host which areas in the metadata and disk it can update. It tracks this via on-disk lock records in the metadata. At the time each ESXi host is first installed and configured, it is assigned a unique ID, referred to as host UUID (universally unique identifier). You can locate this ID on each ...

Get Storage Design and Implementation in vSphere 6: A Technology Deep Dive, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.