Bug on proxmox 6.3-3

vhartmann

New Member
Jan 13, 2021
2
0
1
42
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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!