Re: add volatile flag to PV/LVs (for cache) to avoid degraded state on reboot

Gionatan Danti <[email protected]> Thu, 18 Jan 2024 20:50:06 +0100
Newsgroups dev.linux.lists.linux-lvm
Message-ID <[email protected]>
Il 2024-01-18 16:40 Zdenek Kabelac ha scritto:
> But it further needs some lvm2 metadata update to maintain the 'state'
> of metadata - so if there is again some 'reboot' and PV with cache
> appears back - it will not interfere with the system (aka providing
> some historical cached blocks,  so just like mirrored leg needs some
> care...)

Hi Zdenek,
yes, this is a valid point: if the cache device reappears and starts 
providing old blocks, then data corruption can happen.

Thanks.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: [email protected] - [email protected]