I found a way to set it using:
ceph-kvstore-tool rocksdb . set osdmap first_committed ver 12261

But is that safe to do it? =)

On Mon, Sep 27, 2021 at 5:06 PM Seena Fallah <seenafal...@gmail.com> wrote:

> Hi,
>
> I've lost all my mon dbs and after rebuilding it using OSDs the osdmap
> first_committed is set to 1 but my osdmaps commits start from 12261 (get a
> list of osdmaps from mon db) and now when mon wants to trim osdmaps it will
> fail because it can't find osdmap 1.
>
> Is there a way to change osdmap first commit?
>
> I think I can change it directly from mon db but I couldn't find a prober
> encode and decode process for "osdmap first_committed" key in rocksdb.
>
> Thanks.
>
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to