[pve-devel] [PATCH] volume_size_info: check that storage is enabled (and available)

Dietmar Maurer dietmar at proxmox.com
Tue Jul 31 11:20:09 CEST 2012


Btw, I have some plans regarding to size_info in QemuServer.

To avoid accessing storage to often, we can add a 'size=XX' tag to the configuration. 

For example:

ide0: /dev/sdb,size=5

This is just a hint, we add that when we add/modify a drive.

Additionally, we implement a 'qm rescan' command, which search for unused drives and also 
updates the file sizes.

What do you think?


> -----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, 31. Juli 2012 10:02
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] volume_size_info: check that storage is enabled
> (and available)
> 
> We need to check if storage is available, as for example, nfs can have infinite
> timeout and qemu-img info can hang in interruptible state.




More information about the pve-devel mailing list