The RBD snapshot create timestamp required a change on the OSD side to record the timestamp. Therefore, for older clusters or pre-luminous snapshots, there is no way to retrieve a creation timestamp since it just doesn't exist anywhere.
On Fri, Aug 17, 2018 at 1:39 AM hnuzhoulin2 <[email protected]> wrote: > Sorry,replay late. > > I mean the rbd snap. and the timestamp feature about luminous is: > https://github.com/ceph/ceph/pull/12817 > > > > > > On 08/16/2018 22:54,Gregory Farnum<[email protected]> wrote: > > <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?&name=hnuzhoulin2&uid=hnuzhoulin2%40gmail.com&ftlId=1&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22hnuzhoulin2%40gmail.com%22%5D> > > On Mon, Aug 13, 2018 at 11:18 PM, hnuzhoulin2 <[email protected]> > wrote: > > hi,guys > > we have much snaps,and we want to clear. > but can not know the create time of these snaps. > > I know luminous have this feature default.but for jewel and hammer,have > some > hack way to get the create time?or it is just impossible. > > > Which kind of snapshot are you talking about? Which interface? In a > quick skim of the current tree I don't see anything that's changed > recently in the APIs around these. > -Greg > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Jason
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
