Find in which block the filesystem on your RBD image stores journal, find the object hosting this block in rados and use its mtime :-)
Jan
I don't think anything tracks this explicitly for RBD, but each RADOS object does maintain an mtime you can check via the rados tool. You could write a script to iterate through all the objects in the image and find the most recent mtime (although a custom librados binary will be faster if you want to do this frequently). -Greg On Thursday, November 26, 2015, Christoph Adomeit < Christoph.Adomeit@xxxxxxxxxxx> wrote: Hi there,
I am using Ceph-Hammer and I am wondering about the following:
What is the recommended way to find out when an rbd-Image was last modified ?
Thanks
Christoph
--
Christoph Adomeit
GATWORKS GmbH
Reststrauch 191
41199 Moenchengladbach
Sitz: Moenchengladbach
Amtsgericht Moenchengladbach, HRB 6303
Geschaeftsfuehrer:
Christoph Adomeit, Hans Wilhelm Terstappen
Christoph.Adomeit@xxxxxxxxxxx Internetloesungen vom Feinsten
Fon. +49 2166 9149-32 Fax. +49 2166 9149-10
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxxhttp://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
|
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com