On 02/25/2014 03:54 PM, Florent Bautista wrote:
Hi all, I'm new with Ceph and I would like to know if there is any way of changing size of Ceph's internal objects. I mean, when I put an image on RBD for exemple, I can see this: rbd -p CephTest info base-127-disk-1 rbd image 'base-127-disk-1': size 32768 MB in 8192 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.347c274b0dc51 format: 2 features: layering "4096 kB objects" => how can I change size of objects ?
You can't change it afterwards, but when creating and image you can supply the --order value and change the default 22 into something you like:
22 = 4096KB 23 = 8192KB 24 = 16384KB 25 = 32768KB 26 = 65536KB
Or is it a fixed value in Ceph architecture ?
No, you can set it per RBD image. I have to see, for most situations the default 4MB works just fine.
Thank you _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-- Wido den Hollander 42on B.V. Phone: +31 (0)20 700 9902 Skype: contact42on _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com