Find if a disk is shared between two VMs
We run RHEL8 on VMWare virtual machines, and create an Oracle cluster database (RAC) on a pair of VMs. Data disks are shared between the two VMs but OS software is on the local disk. Is there a way to find out if a disk is indeed shared between the VMs without going to the ESXi host, and without writing something to a disk on one VM and checking it on the other? It seems having the same UUID (from /usr/lib/udev/scsi_id -g -u -d /dev/sdX
) or disk identifier (from fdisk -l /dev/sdX
) on the two VMs is not a guarantee the disk is shared.
(I know the question may be better for the VMWare forum.)