I wanted to know if is it possible to use LVM (with LVM-thin enabled) over iSCSI in shared mode between multiple nodes accessing the same LUN, without risking data corruption due to concurrent access, in the latest version of OpenNebula?
This is a valid and important concern. While OpenNebula prevents the same disk image from being attached to multiple VMs concurrently, LVM itself is not cluster-aware by default. Activating the same LVM volume group on multiple hosts without a locking mechanism can lead to data corruption.
For this reason, OpenNebula expects shared LVM datastores to be accessed in a controlled manner (one host at a time per LV). Any additional coordination or locking between hosts (for example, via LVM locking mechanisms) may be configured and managed at the LVM/operating system level and is outside of OpenNebula’s scope and supported configurations.