Hi,
After some fio bench on my 3 nodes I noticed that 2 of my OSD are down in cluster, I can't restart the service and I tried to restart the node
tail /var/log/ceph/ceph-osd.0.log
2025-07-23T10:36:27.632+0200 72bfaf4ea880 1 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) open path /var/lib/ceph/osd/ceph-0/block
2025-07-23T10:36:27.632+0200 72bfaf4ea880 0 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) ioctl(F_SET_FILE_RW_HINT) on /var/lib/ceph/osd/ceph-0/block failed: (22) Invalid argument
2025-07-23T10:36:27.632+0200 72bfaf4ea880 1 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) open size 1600319913984 (0x1749a800000, 1.5 TiB) block_size 4096 (4 KiB) non-rotational device, discard supported
2025-07-23T10:36:27.632+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0/block) _read_bdev_label unable to decode label /var/lib/ceph/osd/ceph-0/block at offset 66: void bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]
2025-07-23T10:36:27.632+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0/block) _read_bdev_label unable to decode label /var/lib/ceph/osd/ceph-0/block at offset 4096: End of buffer [buffer:2]
2025-07-23T10:36:27.633+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0/block) _read_bdev_label unable to decode label /var/lib/ceph/osd/ceph-0/block at offset 4096: End of buffer [buffer:2]
2025-07-23T10:36:27.633+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0) _check_main_bdev_label not all labels read properly
2025-07-23T10:36:27.633+0200 72bfaf4ea880 1 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) close
2025-07-23T10:36:27.894+0200 72bfaf4ea880 -1 osd.0 0 OSD:init: unable to mount object store
2025-07-23T10:36:27.894+0200 72bfaf4ea880 -1 ** ERROR: osd init failed: (5) Input/output error
This is the command I used to bench
fio --ioengine=libaio --filename=/dev/sda --direct=1 --sync=1 --rw=write --bs=4k --numjobs=1 --iodepth=1 --runtime=60 --time_based --name=fio
fio --ioengine=libaio --filename=/dev/sda --direct=1 --sync=1 --rw=write --bs=4M --numjobs=1 --iodepth=1 --runtime=60 --time_based --name=fio
Thanks for any help
After some fio bench on my 3 nodes I noticed that 2 of my OSD are down in cluster, I can't restart the service and I tried to restart the node
tail /var/log/ceph/ceph-osd.0.log
2025-07-23T10:36:27.632+0200 72bfaf4ea880 1 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) open path /var/lib/ceph/osd/ceph-0/block
2025-07-23T10:36:27.632+0200 72bfaf4ea880 0 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) ioctl(F_SET_FILE_RW_HINT) on /var/lib/ceph/osd/ceph-0/block failed: (22) Invalid argument
2025-07-23T10:36:27.632+0200 72bfaf4ea880 1 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) open size 1600319913984 (0x1749a800000, 1.5 TiB) block_size 4096 (4 KiB) non-rotational device, discard supported
2025-07-23T10:36:27.632+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0/block) _read_bdev_label unable to decode label /var/lib/ceph/osd/ceph-0/block at offset 66: void bluestore_bdev_label_t::decode(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]
2025-07-23T10:36:27.632+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0/block) _read_bdev_label unable to decode label /var/lib/ceph/osd/ceph-0/block at offset 4096: End of buffer [buffer:2]
2025-07-23T10:36:27.633+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0/block) _read_bdev_label unable to decode label /var/lib/ceph/osd/ceph-0/block at offset 4096: End of buffer [buffer:2]
2025-07-23T10:36:27.633+0200 72bfaf4ea880 -1 bluestore(/var/lib/ceph/osd/ceph-0) _check_main_bdev_label not all labels read properly
2025-07-23T10:36:27.633+0200 72bfaf4ea880 1 bdev(0x5a80d2f02e00 /var/lib/ceph/osd/ceph-0/block) close
2025-07-23T10:36:27.894+0200 72bfaf4ea880 -1 osd.0 0 OSD:init: unable to mount object store
2025-07-23T10:36:27.894+0200 72bfaf4ea880 -1 ** ERROR: osd init failed: (5) Input/output error
This is the command I used to bench
fio --ioengine=libaio --filename=/dev/sda --direct=1 --sync=1 --rw=write --bs=4k --numjobs=1 --iodepth=1 --runtime=60 --time_based --name=fio
fio --ioengine=libaio --filename=/dev/sda --direct=1 --sync=1 --rw=write --bs=4M --numjobs=1 --iodepth=1 --runtime=60 --time_based --name=fio
Thanks for any help
Last edited: