What is difference in storing data between rbd and rados ?

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

 



I am confuse to understand how File store in Ceph.

I do two test. where is the File or the object for the File

?rados put Python.msi Python.msi -p data
?rbd -p testpool create fio_test --size 2048

rados command of ? means use Ceph as Object storage ?
rbd command of ? means use Ceph as Block storage ?

As i known, object in Ceph is 4M by default.  this Object will put in PG.
so i try do test as blow.  the fio_test image store in Ceph by 512 object.
 512?object? * 4 = 2048
and i can get object in testpool.

# rbd -p testpool info fio_test
rbd image 'fio_test':
        size 2048 MB in 512 objects
        order 22 (4096 kB objects)
        block_name_prefix: rb.0.1b6f.2ae8944a
        format: 1
# rados -p testpool ls |grep rb.0.1b6f.2ae8944a |wc -l
512


but when i check the data pool, only one file :Python.msi (26M), why not
split Python.msi to many object(4M)  ?????

t# rados ls -p pool-B
python.msi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140806/9fcc7c5c/attachment.htm>


[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