Re: How to check if thin volume or snapshot was ever activated

Gionatan Danti <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
Il 2021-08-09 05:53 Ming-Hung Tsai ha scritto:
> It sounds like you intend to keep snapshots that have been updated
> (written) since its creation, right?

True.

> The precise way might be checking the data mappings via thin_dump. An
> updated device has data mappings with timestamps greater than the
> device's creation time.

Interesting approach, thanks.

> Checking device activation might not meet what you need. An activated
> device might or might not receive any write, so you don't know whether
> a device has been updated by looking into its activation history.

Sure, but it can be a reasonable approximation before further 
inspection. Also, I wonder if dumping data mappings can be slow for big 
volumes.

Thanks.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: [email protected] - [email protected]
GPG public key ID: FF5F32A8

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.