i think that disk naming in it's current schmeme can be a little bit confusing.
it seems disk naming is done from pool/storage perspective and not from vm-perspective.
is this really perfect design or "well thought" if a vm has 3 (or even more) virtual disks which all have the same filename ? (but in different directories / storage pools ) ?
i have accidentally overwritten a virtual disk while copying/consolidating a virtual machine to another host outside our main cluster, that's why i'm asking myself why they are named like this.
i think this can easily lead to mistaking/confusion.
scsi0: vms-files-ssd:211/vm-211-disk-1.qcow2,aio=threads,discard=on,iothread=1,size=10G
scsi1: vm-files-hdd1:211/vm-211-disk-1.qcow2,aio=threads,discard=on,iothread=1,size=20G
scsi2: vms-files-hdd2:211/vm-211-disk-1.qcow2,aio=threads,discard=on,iothread=1,size=10G
/hddpool2/vms-files/images/211
/hddpool2/vms-files/images/211/vm-211-disk-1.qcow2
/hddpool/vms-files/images/211
/hddpool/vms-files/images/211/vm-211-disk-1.qcow2
/rpool/vms-files/images/211
/rpool/vms-files/images/211/vm-211-disk-1.qcow2
it seems disk naming is done from pool/storage perspective and not from vm-perspective.
is this really perfect design or "well thought" if a vm has 3 (or even more) virtual disks which all have the same filename ? (but in different directories / storage pools ) ?
i have accidentally overwritten a virtual disk while copying/consolidating a virtual machine to another host outside our main cluster, that's why i'm asking myself why they are named like this.
i think this can easily lead to mistaking/confusion.
scsi0: vms-files-ssd:211/vm-211-disk-1.qcow2,aio=threads,discard=on,iothread=1,size=10G
scsi1: vm-files-hdd1:211/vm-211-disk-1.qcow2,aio=threads,discard=on,iothread=1,size=20G
scsi2: vms-files-hdd2:211/vm-211-disk-1.qcow2,aio=threads,discard=on,iothread=1,size=10G
/hddpool2/vms-files/images/211
/hddpool2/vms-files/images/211/vm-211-disk-1.qcow2
/hddpool/vms-files/images/211
/hddpool/vms-files/images/211/vm-211-disk-1.qcow2
/rpool/vms-files/images/211
/rpool/vms-files/images/211/vm-211-disk-1.qcow2