[dm-devel] timestamp for shared snapshot

Alasdair G Kergon agk at redhat.com
Wed Feb 16 17:55:44 UTC 2011


> > Is it possible to add timestamp and comment for each snapshots ?

Good idea - as a userspace lvm2 feature, yes.

We currently store creation details for each VG.
I agree we should also store such details for each LV.
This should be optional, but default to enabled.
(People short of space can perhaps turn it off, discarding any existing
details.)

Storing a comment is perhaps an extension to tag support that's been discussed,
to allow longer tags with a wider character set.

> It should be noted that the above shared snapshot work is unlikely to
> make it upstream (portions of it likely will, for instance the lvm2
> userspace changes).  A new shared snapshot implementation is in
> development.

Different snapshot implementations are optimised for different types of usage.
Each one involves choosing between different trade-offs.  We're unlikely ever
to have one solution that is optimal for everyone.

In that spirit, I hope to be submitting more than one shared snapshot
implementation upstream, including *both* of the ones referred to in this
message.  But I want the interfaces used by these implementations to be
basically compatible so that the same userspace tools can make use of them.

Alasdair




More information about the dm-devel mailing list