Привет, у меня умер диск, оказался osd.0. Заменил диск. Потом выполнил флаги: no reco, no refi, no rebalance. Не получилось запустить диск, но удалось его уничтожить. Теперь, когда пытаюсь создать osd pveceph osd create /dev/sdd, выдаёт ошибку.
Запускаю следующую команду:
`/bin/ceph-osd --cluster ceph --osd-objectstore bluestore --mkfs -i 0 --monmap /var/lib/ceph/osd/ceph-0/activate.monmap --keyfile - --osd-data /var/lib/ceph/osd/ceph-0/ - -osd-uuid e0100ab9-9c05-4a33-8d5c-1661829f3193 --setuser ceph --setgroup ceph`
Эта команда, похоже, и вызывает сбой. Это не весь лог, только верхняя часть.
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0//block) _read_bdev_label unable to decode label at offset 102: void bluestore_bdev_label_t::decod e(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]`
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0//block) _read_bdev_label unable to decode label at offset 102: void bluestore_bdev_label_t::decod e(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]`
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0//block) _read_bdev_label unable to decode label at offset 102: void bluestore_bdev_label_t::decod e(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]`
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0/) _read_fsid unparsable uuid`
stderr:
`2025-07-07T07:57:30.384+1000 7a54a9a04940 -1 bdev(0x631fcb3a7000 /var/lib/ceph/osd/ceph-0//block) read 0x2000~ error: (5) Input/output error`
stderr:
`./src/os/bluestore/BlueFS.cc: In function 'int64_t BlueFS::_read(FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)' thread 7a54a9a04940 time 2025-07-07T07:57:30.386059+10 00 stderr: ./src/os/bluestore/BlueFS.cc: 2279: FAILED ceph_assert(r == 0)`
stderr:
`ceph version 18.2.7 (4cac8341a72477c60a6f153f3ed344b49870c932) reef (stable)`
stderr:
`1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x11e) [0x631f88aa60e1]`
stderr:
`2: /bin/ceph-osd(+0x63627e) [0x631f88aa627e]`
Запускаю следующую команду:
`/bin/ceph-osd --cluster ceph --osd-objectstore bluestore --mkfs -i 0 --monmap /var/lib/ceph/osd/ceph-0/activate.monmap --keyfile - --osd-data /var/lib/ceph/osd/ceph-0/ - -osd-uuid e0100ab9-9c05-4a33-8d5c-1661829f3193 --setuser ceph --setgroup ceph`
Эта команда, похоже, и вызывает сбой. Это не весь лог, только верхняя часть.
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0//block) _read_bdev_label unable to decode label at offset 102: void bluestore_bdev_label_t::decod e(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]`
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0//block) _read_bdev_label unable to decode label at offset 102: void bluestore_bdev_label_t::decod e(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]`
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0//block) _read_bdev_label unable to decode label at offset 102: void bluestore_bdev_label_t::decod e(ceph::buffer::v15_2_0::list::const_iterator&) decode past end of struct encoding: Malformed input [buffer:3]`
stderr:
`2025-07-07T07:57:28.112+1000 7a54a9a04940 -1 bluestore(/var/lib/ceph/osd/ceph-0/) _read_fsid unparsable uuid`
stderr:
`2025-07-07T07:57:30.384+1000 7a54a9a04940 -1 bdev(0x631fcb3a7000 /var/lib/ceph/osd/ceph-0//block) read 0x2000~ error: (5) Input/output error`
stderr:
`./src/os/bluestore/BlueFS.cc: In function 'int64_t BlueFS::_read(FileReader*, uint64_t, size_t, ceph::bufferlist*, char*)' thread 7a54a9a04940 time 2025-07-07T07:57:30.386059+10 00 stderr: ./src/os/bluestore/BlueFS.cc: 2279: FAILED ceph_assert(r == 0)`
stderr:
`ceph version 18.2.7 (4cac8341a72477c60a6f153f3ed344b49870c932) reef (stable)`
stderr:
`1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x11e) [0x631f88aa60e1]`
stderr:
`2: /bin/ceph-osd(+0x63627e) [0x631f88aa627e]`
