[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] timestamp for shared snapshot



> > 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]