I am trying to increase VM Disk size. Disk is Sata0 I am using /vmid/resize API.
I am sending following array to PUT request via CURL
$fields = array(
'disk'=>"sata0",
'skiplock'=>1,
'size' =>"+1",
);
This request return Error code 500 (internal server error)
But when i put
$fields = array(
'disk'=>"sata0",
'skiplock'=>1,
'size' =>"+0",
);
then it return HTTP Status 200 (OK)
I am unable to figure out what is wrong and why I am not able to resize.
Proxmox 5.4
I am sending following array to PUT request via CURL
$fields = array(
'disk'=>"sata0",
'skiplock'=>1,
'size' =>"+1",
);
This request return Error code 500 (internal server error)
But when i put
$fields = array(
'disk'=>"sata0",
'skiplock'=>1,
'size' =>"+0",
);
then it return HTTP Status 200 (OK)
I am unable to figure out what is wrong and why I am not able to resize.
Proxmox 5.4