[pve-devel] Default cache mode for VM hard drives

Alexandre DERUMIER aderumier at odiso.com
Wed Nov 19 06:38:11 CET 2014


>>Maybe we can add a 'cache-mode' setting to the storage configuration? That we we can
>>set the default mode for each storage.

Seem good :)

If disk don't have cache setting && storage have cache-mode setting, use storage cache-mode

else if  disk don't have cache setting && storage don't have cache-mode setting, cache = none

else if disk have cache setting, use it


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Stanislav German-Evtushenko" <ginermail at gmail.com> 
Cc: "Alexandre Derumier" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Mardi 18 Novembre 2014 20:16:49 
Objet: RE: [pve-devel] Default cache mode for VM hard drives 

> > Beside, we do not have a storage type for DRBD, so we simply cannot detect 
> this situation automatically. So I guess you need to set that manually. 
> Problem is that this is always forgotten to be configured by other admins when 
> creating a new machine, so in some weeks after I check all machines for being 
> configured properly we start to receive out-of-sync notifications again. 

Maybe we can add a 'cache-mode' setting to the storage configuration? That we we can 
set the default mode for each storage. 

> Another problem is that many people who does such installations are not really aware of 
> the issue and don't do integrity checks and finally they got to the situation when 
> a VM crashes on migration doesn't start after DRBD resync. 

Not sure if/how we can solve that. One way would be to improve wiki documentation? 



More information about the pve-devel mailing list