Re: cephfs: from a file name determine the objects name

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

 



Hi Sage, 

Following are the greps through inotify,  I created a file name cris at client end 

From stats the ino number is 1099511628795

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

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


  Powered by Linux