为防止多个虚拟机同时往磁盘上写内容,避免损害meta数据VMware自己开发的文件系统VMFS支持3种磁盘锁定模式:
1)ATS(Atomic Test & Set)
2)SCSI()
3)ATS + SCSI
# esxcli storage vmfs lockmode list
//我的电脑上显示如下信息
Volume Name: datastore1
UUID: 5d653d15-3352555a-55d3-000c298b51e3
Type: VMFS-6
Locking Mode: ATS+SCSI
ATS Compatible: false
ATS Upgrade Modes: None
ATS Incompatibility Reason: Device does not support ATS
参考:
https://blogs.vmware.com/vsphere/2012/05/vmfs-locking-uncovered.html