Re: [ceph-users] Modification Time of RBD Images

2017-09-06 Thread Jason Dillaman
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 wrote: > Now that we are 2 years and some ceph releases farther and have bluestor: > > Are there meanwhile

Re: [ceph-users] Modification Time of RBD Images

2017-09-06 Thread Christoph Adomeit
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

Re: [ceph-users] Modification Time of RBD Images

2017-03-28 Thread Dongsheng Yang
Jason, sorry for the typo of your email address in my last mail... On 29/03/2017, 00:36, Jason Dillaman wrote: While certainly that could be a feature that could be added to "rbd info", it will take a while for this feature to reach full use since it would rely on new versions of librbd /

Re: [ceph-users] Modification Time of RBD Images

2017-03-28 Thread Jason Dillaman
While certainly that could be a feature that could be added to "rbd info", it will take a while for this feature to reach full use since it would rely on new versions of librbd / krbd. Additionally, access and modified timestamps would require sending out an update notification so that other

Re: [ceph-users] Modification Time of RBD Images

2017-03-24 Thread Kjetil Jørgensen
Hi, YMMV, riddled with assumptions (image is image-format=2, has one ext4 filesystem, no partition table, ext4 superblock starts at 0x400 and probably a whole boatload of other stuff, I don't know when ext4 updates s_wtime of it's superblock, nor if it's actually the superblock last write or last

Re: [ceph-users] Modification Time of RBD Images

2017-03-24 Thread Dongsheng Yang
Hi jason, do you think this is a good feature for rbd? maybe we can implement a "rbd stat" command to show atime, mtime and ctime of an image. Yang On 03/23/2017 08:36 PM, Christoph Adomeit wrote: Hi, no i did not enable the journalling feature since we do not use mirroring. On Thu,

Re: [ceph-users] Modification Time of RBD Images

2017-03-23 Thread Christoph Adomeit
Hi, no i did not enable the journalling feature since we do not use mirroring. On Thu, Mar 23, 2017 at 08:10:05PM +0800, Dongsheng Yang wrote: > Did you enable the journaling feature? > > On 03/23/2017 07:44 PM, Christoph Adomeit wrote: > >Hi Yang, > > > >I mean "any write" to this image. > >

Re: [ceph-users] Modification Time of RBD Images

2017-03-23 Thread Dongsheng Yang
Did you enable the journaling feature? On 03/23/2017 07:44 PM, Christoph Adomeit wrote: Hi Yang, I mean "any write" to this image. I am sure we have a lot of not-used-anymore rbd images in our pool and I am trying to identify them. The mtime would be a good hint to show which images might

Re: [ceph-users] Modification Time of RBD Images

2017-03-23 Thread Christoph Adomeit
Hi Yang, I mean "any write" to this image. I am sure we have a lot of not-used-anymore rbd images in our pool and I am trying to identify them. The mtime would be a good hint to show which images might be unused. Christoph On Thu, Mar 23, 2017 at 07:32:49PM +0800, Dongsheng Yang wrote: > Hi

Re: [ceph-users] Modification Time of RBD Images

2017-03-23 Thread Dongsheng Yang
On 03/23/2017 07:32 PM, Dongsheng Yang wrote: Hi Christoph, On 03/23/2017 07:16 PM, Christoph Adomeit wrote: Hello List, i am wondering if there is meanwhile an easy method in ceph to find more information about rbd-images. For example I am interested in the modification time of an rbd

Re: [ceph-users] Modification Time of RBD Images

2017-03-23 Thread Dongsheng Yang
Hi Christoph, On 03/23/2017 07:16 PM, Christoph Adomeit wrote: Hello List, i am wondering if there is meanwhile an easy method in ceph to find more information about rbd-images. For example I am interested in the modification time of an rbd image. Do you mean some metadata changing? such

[ceph-users] Modification Time of RBD Images

2017-03-23 Thread Christoph Adomeit
Hello List, i am wondering if there is meanwhile an easy method in ceph to find more information about rbd-images. For example I am interested in the modification time of an rbd image. I found some posts from 2015 that say we have to go over all the objects of an rbd image and find the

[ceph-users] Modification Time of RBD Images

2015-11-26 Thread Christoph Adomeit
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

Re: [ceph-users] Modification Time of RBD Images

2015-11-26 Thread Jan Schermer
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 wrote: > > I don't think anything tracks this explicitly for RBD, but each RADOS object >