[ceph-users] Re: rbd object mapping

2021-08-09 Thread Tony Liu
Thank you Konstantin! Tony From: Konstantin Shalygin Sent: August 9, 2021 01:20 AM To: Tony Liu Cc: ceph-users; d...@ceph.io Subject: Re: [ceph-users] rbd object mapping On 8 Aug 2021, at 20:10, Tony Liu mailto:tonyliu0...@hotmail.com>> wrote: That's

[ceph-users] Re: rbd object mapping

2021-08-09 Thread Konstantin Shalygin
> On 8 Aug 2021, at 20:10, Tony Liu wrote: > > That's what I thought. I am confused by this. > > # 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)

[ceph-users] Re: rbd object mapping

2021-08-08 Thread Tony Liu
>> There are two types of "object", RBD-image-object and 8MiB-block-object. >> When create a RBD image, a RBD-image-object is created and 12800 >> 8MiB-block-objects >> are allocated. That whole RBD-image-object is mapped to a single PG, which >> is mapped >> to 3 OSDs (replica 3). That means,

[ceph-users] Re: rbd object mapping

2021-08-08 Thread Konstantin Shalygin
> There are two types of "object", RBD-image-object and 8MiB-block-object. > When create a RBD image, a RBD-image-object is created and 12800 > 8MiB-block-objects > are allocated. That whole RBD-image-object is mapped to a single PG, which is > mapped > to 3 OSDs (replica 3). That means, all

[ceph-users] Re: rbd object mapping

2021-08-07 Thread Tony Liu
There are two types of "object", RBD-image-object and 8MiB-block-object. When create a RBD image, a RBD-image-object is created and 12800 8MiB-block-objects are allocated. That whole RBD-image-object is mapped to a single PG, which is mapped to 3 OSDs (replica 3). That means, all user data on

[ceph-users] Re: rbd object mapping

2021-08-07 Thread Konstantin Shalygin
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