How to track one file store in ceph as an object.

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

 



mount cephfs to /mnt/mycehfs on debian 7, kernel3.10

eg: have one file 
root@test-debian:/mnt/mycephfs# ls -i test.txt
1099511627776 test.txt
root@test-debian:/mnt/mycephfs# ceph osd map volumes test.txt
osdmap e351 pool 'volumes' (3) object 'test.txt' -> pg 3.8b0b6108 (3.8) -> up [5,3] acting [5,3]
root@test-debian:/mnt/mycephfs# ceph osd  pool get volumes size
size: 2
root@test-debian:/mnt/mycephfs# ceph osd stat
e351: 7 osds: 7 up, 7 in
root@test-debian:/mnt/mycephfs# ceph osd dump

epoch 351
fsid db32486a-7ad3-4afe-8b67-49ee2a6dcecf
created 2013-08-08 13:45:52.579015
modified 2013-08-15 02:39:45.473969
flags

pool 0 'data' rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 192 pgp_num 192 last_change 1 owner 0 crash_replay_interval 45
pool 1 'metadata' rep size 2 min_size 1 crush_ruleset 1 object_hash rjenkins pg_num 192 pgp_num 192 last_change 1 owner 0
pool 2 'rbd' rep size 2 min_size 1 crush_ruleset 2 object_hash rjenkins pg_num 192 pgp_num 192 last_change 1 owner 0
pool 3 'volumes' rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 256 pgp_num 256 last_change 220 owner 18446744073709551615


how to know where is store in ceph,which object, which pg?  i want understand how ceph work.

pls give your guide. 

best wish.


_______________________________________________
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