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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.