Re: [ceph-users] rbd object mapping

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

 



Object map show where your object with any object name will be placed in defined pool with your crush map, and which of osd will serve this PG.
You can type anything in object name - and the the future placement or placement of existing object - this how algo works.

12800 means that your 100GiB image is a 12800 objects of 8 MiB of pool vm. All this objects prefixed with rbd header (seems block_name_prefix modern name of this)


Cheers,
k

On 7 Aug 2021, at 21:27, Tony Liu <tonyliu0592@xxxxxxxxxxx> wrote:

This shows one RBD image is treated as one object, and it's mapped to one PG.
"object" here means a RBD image.

# ceph osd map vm fcb09c9c-4cd9-44d8-a20b-8961c6eedf8e_disk
osdmap e18381 pool 'vm' (4) object 'fcb09c9c-4cd9-44d8-a20b-8961c6eedf8e_disk' -> pg 4.c7a78d40 (4.0) -> up ([4,17,6], p4) acting ([4,17,6], p4)

When show the info of this image, what's that "12800 objects" mean?
And what's that "order 23 (8 MiB objects)" mean?
What's "objects" here?

# rbd info vm/fcb09c9c-4cd9-44d8-a20b-8961c6eedf8e_disk     
rbd image 'fcb09c9c-4cd9-44d8-a20b-8961c6eedf8e_disk':
       size 100 GiB in 12800 objects
       order 23 (8 MiB objects)
       snapshot_count: 0
       id: affa8fb94beb7e
       block_name_prefix: rbd_data.affa8fb94beb7e
       format: 2


_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux