It’s printed in the OSD log at startup.
I don’t immediately see it in `ceph osd metadata` ; arguably it should be
there. `config show` on the admin socket I suspect does not show the existing
value.
>
> Hi,
>
> Ceph 16 Pacific introduced a new smaller default min_alloc_size of 4096 bytes
>
On 11.01.23 23:47, Anthony D'Atri wrote:
It’s printed in the OSD log at startup.
But which info is it exactly?
This line looks like reporting the block_size of the device:
bdev(0x55b50a2e5800 /var/lib/ceph/osd/ceph-0/block) open size 107369988096
(0x18ffc0, 100 GiB) block_size 4096 (4
Hi,
On 12/01/2023 10.26, Robert Sander wrote:
Is it this line?
bluestore(/var/lib/ceph/osd/ceph-0) _open_super_meta min_alloc_size
0x1000
That seems to be it:
https://github.com/ceph/ceph/blob/v15.2.17/src/os/bluestore/BlueStore.cc#L11754-L11755
A few lines later it should state the sa
Hi,
> On 12 Jan 2023, at 04:35, Robert Sander wrote:
>
> How can I get the current min_allloc_size of OSDs that were created with
> older Ceph versions? Is there a command that shows this info from the on disk
> format of a bluestore OSD?
You can see this via kvstore-tool:
ceph-kvstore-tool
Hi,
Am 13.01.23 um 14:35 schrieb Konstantin Shalygin:
ceph-kvstore-tool bluestore-kv /var/lib/ceph/osd/ceph-0/ get S min_alloc_size
This only works when the OSD is not running.
Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin
http://www.heinlein-support.de
I think this would be valuable to have easily accessible during runtime,
perhaps submit a report (and patch if possible)?
David
On Fri, Jan 13, 2023, at 08:14, Robert Sander wrote:
> Hi,
>
> Am 13.01.23 um 14:35 schrieb Konstantin Shalygin:
>
> > ceph-kvstore-tool bluestore-kv /var/lib/ceph/os