VM disk size - 0KB (only in VM list). Where does this value originate?

3flight

New Member
Jan 31, 2011
14
0
1
SUBJ - I have one VM with 0KB disk size reported on "virtual machines" page. Restarting pvedaemon & apache2 did not help. Therefore I would like to find the origin of this value. I traced through perl scripts and stuck at write(rupdate)_var_lib_vzlist sub. I don't understand from where this one is called. I can see "maxdisk" var is taken from $d var, which is taken from $data var. $data is input parameter and I cannot trace further. Does anyone know the origin of this 0 value which then goes to /var/lib/pve-manager/vzlist file?
 
SUBJ - I have one VM with 0KB disk size reported on "virtual machines" page. Restarting pvedaemon & apache2 did not help. Therefore I would like to find the origin of this value. I traced through perl scripts and stuck at write(rupdate)_var_lib_vzlist sub. I don't understand from where this one is called. I can see "maxdisk" var is taken from $d var, which is taken from $data var. $data is input parameter and I cannot trace further. Does anyone know the origin of this 0 value which then goes to /var/lib/pve-manager/vzlist file?
Hi,
there was some weeks ago one thread about this - if i'm right you must select the disk as first boot-device and then the right size should displayed.

Udo