On Tue, 3 Feb 2015, Mudit Verma wrote: > Hi Sage, > Following are the greps through inotify, I created a file name cris at > client end > > From stats the ino number is 1099511628795 100000003fb The object names will be something like 100000003fb.00000001. The filenames once they hit disk will get the __head_$hash type suffix based on a hash of the name and some other random stuff. I think the __2 is the pool id. sage > > but it does not match to the hex 06E5F474 > > > On ODS: > > /var/local/osd1/current/2.0_head/ OPEN 200.00000001__head_06E5F474__2 > > /var/local/osd1/current/2.0_head/ MODIFY 200.00000001__head_06E5F474__2 > > /var/local/osd1/current/2.0_head/ CLOSE_WRITE,CLOSE > 200.00000001__head_06E5F474__2 > > > May you please help me understand this name 200.00000001__head_06E5F474__2 > > > Thanks > > Mudit > > > On Sun, Feb 1, 2015 at 10:35 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote: > > It's inode number (in hex), then ".", then block number (in > hex). You can get the ino of a file with stat. > > sage > > > > On February 1, 2015 5:08:18 PM GMT+01:00, Mudit Verma > <mudit.f2004912@xxxxxxxxx> wrote: > Hi All, > CEPHFS - Given a file name, how can one determine the exact > location and the name of the objects on OSDs. > > So far I could understand that the objects data is stored in > .../current dir in OSDs, but what naming convention do they > use? > > Many thanks in advance > > Thanks > Mudit > > ____________________________________________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > -- > Sent from Kaiten Mail. Please excuse my brevity. > > > >
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com