>>Reading that the final suggestion is: using a random number, then 
>>perhaps pve could simply suggest a random PVID number between 1 and 4 
>>billion. 

use uuid in this case.

The problem is that vm tap interfaces for example, use vmid in the name 
(tap<vmid>i<interfacenum>,
and it's limited to 16characters by linux kernel.
(so this should need some kind of table/conf mapping when taps are generated)





----- Mail original -----
De: "lists" <[email protected]>
À: "proxmoxve" <[email protected]>
Envoyé: Mardi 22 Octobre 2019 16:47:43
Objet: Re: [PVE-User] VMID clarifying

ok, have read it. 

Pity, the outcome. 

Reading that the final suggestion is: using a random number, then 
perhaps pve could simply suggest a random PVID number between 1 and 4 
billion. 

(and if already in use: choose another random number) 

No need to store anything anywhere, and chances of duplicating a PVID 
would be virtually zero. 

MJ 

On 22-10-2019 16:19, Dominik Csapak wrote: 
> there was already a lengthy discussion of this topic on the bugtracker 
> see https://bugzilla.proxmox.com/show_bug.cgi?id=1822 
> 
> _______________________________________________ 
> pve-user mailing list 
> [email protected] 
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
_______________________________________________ 
pve-user mailing list 
[email protected] 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 

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

Reply via email to