[pve-devel] unusedX disk with size hint : : invalid format - unable to parse drive options ?

Dietmar Maurer dietmar at proxmox.com
Tue Aug 7 14:30:41 CEST 2012


yes, we need to extend the format of unused drives to allow a size parameter.

This is not trivial because the current code assumes it is simply a volume id.

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Alexandre DERUMIER
> Sent: Dienstag, 07. August 2012 14:27
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] unusedX disk with size hint : : invalid format - unable to
> parse drive options ?
> 
> Hi,
> I'm playing with unusedX disk, adding size=X  hint,
> 
> when I try to put them on virtio1 by exemple, I have an error message:
> : invalid format - unable to parse drive options
> 
> Is it related to
> 
> my $unuseddesc = {
>     optional => 1,
>     type => 'string', format => 'pve-volume-id',
>     description => "Reference to unused volumes.", }; in QemuServer.pm ?
> 
> 
> 
> 
> I also notice that when we put a disk with disk size hint in unused, the disk
> size hint is removed.
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list