Bug on proxmox 6.3-3

vhartmann

New Member
Jan 13, 2021
2
0
1
43
Hello,

I'm running proxmox VE 6.3-3 and i noticed a bug,

To reproduce:
-Create two different storage storageA and storageB on cluster with same path /data/toto
-I took a vm from vware with two disks
-I copy and convert both disks to qcow2 and import it with qm import in storageA
-I created a new vm on proxmox
-I attached disks to this new vms with qm set command and the result in proxmox VE web interface:
First disk is correctly attached to VM and in storageA
Second disk is attached to VM but has storageB as storage
And a third line with unused disk on storageA with path qcow2 file of second disk


Best regards
 
hi,

in my opinion,
Create two different storage storageA and storageB on cluster with same path /data/toto
misconfigured storage != bug

any storage you configure needs to be defined uniquely, i.e. if you point two storages to the same path this is not supported (and will cause issues as expected).

rather than doing this you should have different storages configured, pointing to different directories/backends

please see here [0] for more details

[0]: https://pve.proxmox.com/wiki/Storage
 
  • Like
Reactions: CoolTux
storage_id is an unique identifier not storage_id+path not the path. It could be great to add a check at editing a storage to check if there is a storage with the same path)