We are using iSCSI disk images rather than LVM. I notice that it is possible to connect a disk image to multiple VM's or multiple times to a single VM. This of course will cause corruption. There doesn't seem to be a way to prevent or warn when this happens.
Full disclosure: We are transitioning from using KVM natively to Proxmox. Our shared storage is Nimble, which does not offer NAS (only SAN). Nimble also does block level, multi-data center replication - which is a requirement we have for DR. So, I realize we are not using Proxmox in a typical way, but at this time I don't have a choice.
That said, each drive on a VM is a separate iSCSI disk image. KVM's VMmanager app tracks what drives are attached to guests and warns when you attach a drive to multiple guests.
Is there a way to prevent or warn in this scenario in Proxmox. I think it's only a matter of time before we unintentionally attach a drive to more than one VM and cause corruption. I suppose I could write a hook script to check all other guests at pre-start. I'm hoping there is a better solution.
Thanks ahead for any thoughts on this odd question.
Full disclosure: We are transitioning from using KVM natively to Proxmox. Our shared storage is Nimble, which does not offer NAS (only SAN). Nimble also does block level, multi-data center replication - which is a requirement we have for DR. So, I realize we are not using Proxmox in a typical way, but at this time I don't have a choice.
That said, each drive on a VM is a separate iSCSI disk image. KVM's VMmanager app tracks what drives are attached to guests and warns when you attach a drive to multiple guests.
Is there a way to prevent or warn in this scenario in Proxmox. I think it's only a matter of time before we unintentionally attach a drive to more than one VM and cause corruption. I suppose I could write a hook script to check all other guests at pre-start. I'm hoping there is a better solution.
Thanks ahead for any thoughts on this odd question.