--- Begin Message ---
Proxmox doesn't check existing logical volume on iscsi if the vmid isn't
present.

We have multiple proxmoxs which aren't clustered in a location and they
all use the same nas storage which we have created an iscsi on it.

There was a vm with vmid 100 on prox1 which its disk was on iscsi storage.

I created another vm with vmid 100 on another prox on iscsi and proxmox
didn't complain about it, therefore vm with vmid 100 disk on prox1 got
corrupted.

Shouldn't proxmox check existing logical volumes before creating,
migrating, moving disk to iscsi storage?

cat /etc/pve/storage.cfg
...
iscsi: nas02iscsi
        portal a.b.c.d
        target iqn.2004-04.com.qnap:ts-431x2:iscsi.proxmox.36fa44
        content images

lvm: nas02iscsilvm
        vgname vg_nas02
        content rootdir,images
        shared 1

qm config 100

...
scsi0:
nas02iscsilvm:vm-100-disk-0,backup=0,cache=writeback,discard=on,size=300G
...

And guess what, backup wasn't enabled on the disk, so we don't have any
backup, too.

P.S.
I'm having my worst day in office becuase of this corrupted vm.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to