[PVE-User] VM locked icon to GUI

Eneko Lacunza elacunza at binovo.es
Mon Jul 20 14:20:46 CEST 2015


Hi Emmanuel,

El 20/07/15 a las 10:33, Emmanuel Kasper escribió:
> On 07/17/2015 06:40 PM, Gerald Brandt wrote:
>> On 2015-07-17 01:34 AM, Sten Aus wrote:
>>> Hi
>>>
>>> Is it possible to have little lock sign next to VM icon in the GUI
>>> when VM is locked (for backup etc)?
>>>
> A problem here might be that different storages have different
> interpretation of what is considered to be online.
>
> IIRC for example with NFS, when the nfs server disappears in the
> network, the mount is still considered to be valid by the kernel, and
> the next file system calls will hang, waiting indefinitely for the
> server to be online again.
>
> So at least for NFS, I don't see an easy way to detect a storage as
> being offline.
>
If you have NFS mounted with soft option it should return an error. For 
hard option, you could detect storage is offline if a test operation 
doesn't end in some seconds...

Cheers
Eneko

-- 
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943575997
       943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es




More information about the pve-user mailing list