[linux-lvm] How to check if thin volume or snapshot was ever activated

Gionatan Danti g.danti at assyoma.it
Sat Aug 7 11:39:59 UTC 2021

Dear all,
as you know, a thin snapshot does have the "k" (skip activation) flag 
set, so one has to force activation by ignoring the flag (or removing 
the flag itself).

I wonder: can we detect if a volume/snapshot was *ever* activated? My 
reasoning is that a never-activated snapshot surely did not receive any 
application writes, so it can be safely removed (ignoring snapshot 
retention policy).


Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8

More information about the linux-lvm mailing list