Re: Modification Time of RBD Images

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

 



No support for that yet -- it's being tracked by a backlog ticket [1].

[1] https://trello.com/c/npmsOgM5

On Wed, Sep 6, 2017 at 12:27 PM, Christoph Adomeit
<Christoph.Adomeit@xxxxxxxxxxx> wrote:
> Now that we are 2 years and some ceph releases farther and have bluestor:
>
> Are there meanwhile any better ways to find out the mtime of an rbd image ?
>
> Thanks
>   Christoph
>
> On Thu, Nov 26, 2015 at 06:50:46PM +0100, Jan Schermer wrote:
>> 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
>>
>>
>> > On 26 Nov 2015, at 18:49, Gregory Farnum <gfarnum@xxxxxxxxxx> wrote:
>> >
>> > 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 <mailto: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 <javascript:;>     Internetloesungen vom Feinsten
>> > Fon. +49 2166 9149-32                      Fax. +49 2166 9149-10
>> > _______________________________________________
>> > ceph-users mailing list
>> > ceph-users@xxxxxxxxxxxxxx <javascript:;>
>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com <http://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
>>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux