The OP may be using a package-based install.  

> On Jan 28, 2026, at 3:14 AM, Malte Stroem via ceph-users <[email protected]> 
> wrote:
> 
> Use cephadm, "ceph orch" commands to do this.
> 
>> On 1/27/26 20:51, Rok Jaklič via ceph-users wrote:
>> Hi,
>> i am adding new OSDs from a new host with something like:
>>  <PROD>  [root@server1 ~]# ceph-volume lvm create --data /dev/mapper/mpatha
>> Running command: /usr/bin/ceph-authtool --gen-print-key
>> Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd
>> --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new
>> dbb58525-c4f6-4a1e-b03a-ac5966f09809
>> Running command: vgcreate --force --yes
>> ceph-11881314-f5e5-480f-9ac4-d25739e0dd74 /dev/mapper/mpatha
>>  stdout: Physical volume "/dev/mapper/mpatha" successfully created.
>>  stdout: Volume group "ceph-11881314-f5e5-480f-9ac4-d25739e0dd74"
>> successfully created
>> Running command: lvcreate --yes -l 3814911 -n
>> osd-block-dbb58525-c4f6-4a1e-b03a-ac5966f09809
>> ceph-11881314-f5e5-480f-9ac4-d25739e0dd74
>>  stdout: Logical volume "osd-block-dbb58525-c4f6-4a1e-b03a-ac5966f09809"
>> created.
>> Running command: /usr/bin/ceph-authtool --gen-print-key
>> Running command: /usr/bin/mount -t tmpfs tmpfs /var/lib/ceph/osd/ceph-233
>> Running command: /usr/sbin/restorecon /var/lib/ceph/osd/ceph-233
>> Running command: /usr/bin/chown -h ceph:ceph
>> /dev/ceph-11881314-f5e5-480f-9ac4-d25739e0dd74/osd-block-dbb58525-c4f6-4a1e-b03a-ac5966f09809
>> Running command: /usr/bin/chown -R ceph:ceph /dev/dm-30
>> Running command: /usr/bin/ln -s
>> /dev/ceph-11881314-f5e5-480f-9ac4-d25739e0dd74/osd-block-dbb58525-c4f6-4a1e-b03a-ac5966f09809
>> /var/lib/ceph/osd/ceph-233/block
>> Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd
>> --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring mon getmap -o
>> /var/lib/ceph/osd/ceph-233/activate.monmap
>>  stderr: 2026-01-27T20:22:26.212+0100 7f9a406c6640 -1 auth: unable to find
>> a keyring on
>> /etc/ceph/ceph.client.bootstrap-osd.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin:
>> (2) No such file or directory
>> 2026-01-27T20:22:26.212+0100 7f9a406c6640 -1 AuthRegistry(0x7f9a380648f8)
>> no keyring found at
>> /etc/ceph/ceph.client.bootstrap-osd.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,
>> disabling cephx
>>  stderr: got monmap epoch 6
>> --> Creating keyring file for osd.233
>> Running command: /usr/bin/chown -R ceph:ceph
>> /var/lib/ceph/osd/ceph-233/keyring
>> Running command: /usr/bin/chown -R ceph:ceph /var/lib/ceph/osd/ceph-233/
>> Running command: /usr/bin/ceph-osd --cluster ceph --osd-objectstore
>> bluestore --mkfs -i 233 --monmap /var/lib/ceph/osd/ceph-233/activate.monmap
>> --keyfile - --osd-data /var/lib/ceph/osd/ceph-233/ --osd-uuid
>> dbb58525-c4f6-4a1e-b03a-ac5966f09809 --setuser ceph --setgroup ceph
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233//block) _read_bdev_label unable to
>> decode label at offset 102: void
>> bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&)
>> decode past end of struct encoding: Malformed input [buffer:3]
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233//block) _read_bdev_label unable to
>> decode label at offset 102: void
>> bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&)
>> decode past end of struct encoding: Malformed input [buffer:3]
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233//block) _read_bdev_label unable to
>> decode label at offset 102: void
>> bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&)
>> decode past end of struct encoding: Malformed input [buffer:3]
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233/) _read_fsid unparsable uuid
>> --> ceph-volume lvm prepare successful for: /dev/mapper/mpatha
>> Running command: /usr/bin/chown -R ceph:ceph /var/lib/ceph/osd/ceph-233
>> Running command: /usr/bin/ceph-bluestore-tool --cluster=ceph prime-osd-dir
>> --dev
>> /dev/ceph-11881314-f5e5-480f-9ac4-d25739e0dd74/osd-block-dbb58525-c4f6-4a1e-b03a-ac5966f09809
>> --path /var/lib/ceph/osd/ceph-233 --no-mon-config
>> Running command: /usr/bin/ln -snf
>> /dev/ceph-11881314-f5e5-480f-9ac4-d25739e0dd74/osd-block-dbb58525-c4f6-4a1e-b03a-ac5966f09809
>> /var/lib/ceph/osd/ceph-233/block
>> Running command: /usr/bin/chown -h ceph:ceph
>> /var/lib/ceph/osd/ceph-233/block
>> Running command: /usr/bin/chown -R ceph:ceph /dev/dm-30
>> Running command: /usr/bin/chown -R ceph:ceph /var/lib/ceph/osd/ceph-233
>> Running command: /usr/bin/systemctl enable
>> ceph-volume@lvm-233-dbb58525-c4f6-4a1e-b03a-ac5966f09809
>>  stderr: Created symlink
>> /etc/systemd/system/multi-user.target.wants/[email protected]
>> → /usr/lib/systemd/system/[email protected].
>> Running command: /usr/bin/systemctl enable --runtime ceph-osd@233
>>  stderr: Created symlink
>> /run/systemd/system/ceph-osd.target.wants/[email protected] →
>> /usr/lib/systemd/system/[email protected].
>> Running command: /usr/bin/systemctl start ceph-osd@233
>> --> ceph-volume lvm activate successful for osd ID: 233
>> --> ceph-volume lvm create successful for: /dev/mapper/mpatha
>> ---
>> I get few errors in output like:
>>  stderr: 2026-01-27T20:22:26.212+0100 7f9a406c6640 -1 auth: unable to find
>> a keyring on
>> /etc/ceph/ceph.client.bootstrap-osd.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin:
>> (2) No such file or directory
>> 2026-01-27T20:22:26.212+0100 7f9a406c6640 -1 AuthRegistry(0x7f9a380648f8)
>> no keyring found at
>> /etc/ceph/ceph.client.bootstrap-osd.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,
>> disabling cephx
>> ... and then ...
>> bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&)
>> decode past end of struct encoding: Malformed input [buffer:3]
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233//block) _read_bdev_label unable to
>> decode label at offset 102: void
>> bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&)
>> decode past end of struct encoding: Malformed input [buffer:3]
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233//block) _read_bdev_label unable to
>> decode label at offset 102: void
>> bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&)
>> decode past end of struct encoding: Malformed input [buffer:3]
>>  stderr: 2026-01-27T20:22:26.421+0100 7fe148736780 -1
>> bluestore(/var/lib/ceph/osd/ceph-233/) _read_fsid unparsable uuid
>> ... but cluster seems to add and work on new OSDs anyway.
>> Anyone had a similar issue? Or can I ignore this error?
>> Kind regards,
>> Rok
>> _______________________________________________
>> ceph-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
> _______________________________________________
> ceph-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to