I have a doubt regarding LVM (for KVM machines) and shared storage.
I've seen that LVM on top of shared storage is recommended routinely for KVM live migration and so, but it's my understanding (please correct me if I'm wrong) that shared-lvm needs an extension to LVM (clustered-LVM) so that metadata is propagated from one cluster node to the others.
This is done by means of the clvmd daemon which is responsible for replicating meta altered from one node to the others. Failure to do this would represent a "split brain" condition for LVM with obvious consequences.
I fail to understand why LVM (VG/LV) is constructed routinely on top of iSCSI shared storage and how this setup is able to run across cluster nodes with no problems (i.e. is metadata stored on the iscsi underlying device and is current lvm aware of this) ?
jinjer
I've seen that LVM on top of shared storage is recommended routinely for KVM live migration and so, but it's my understanding (please correct me if I'm wrong) that shared-lvm needs an extension to LVM (clustered-LVM) so that metadata is propagated from one cluster node to the others.
This is done by means of the clvmd daemon which is responsible for replicating meta altered from one node to the others. Failure to do this would represent a "split brain" condition for LVM with obvious consequences.
I fail to understand why LVM (VG/LV) is constructed routinely on top of iSCSI shared storage and how this setup is able to run across cluster nodes with no problems (i.e. is metadata stored on the iscsi underlying device and is current lvm aware of this) ?
jinjer