[pve-devel] [PATCH] volume_size_info: check that storage is enabled (and available)
Alexandre DERUMIER
aderumier at odiso.com
Wed Aug 1 01:44:20 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?
Oh great, I was thinking of something like that. It could really help and avoid call to storage.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com
Envoyé: Mardi 31 Juillet 2012 11:20:09
Objet: RE: [pve-devel] [PATCH] volume_size_info: check that storage is enabled (and available)
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.
--
--
Alexandre D e rumier
Ingénieur Systèmes et Réseaux
Fixe : 03 20 68 88 85
Fax : 03 20 68 90 88
45 Bvd du Général Leclerc 59100 Roubaix
12 rue Marivaux 75002 Paris
More information about the pve-devel
mailing list