microceph
microceph copied to clipboard
error creating empty object store in /var/lib/ceph/osd/ceph-5: (2) No such file or directory)
I am trying to add loop device, it's resulting into following error..
if i try to use --wipe as part of command. everything works.
sudo microceph disk add /dev/loop101
+--------------+---------+
| PATH | STATUS |
+--------------+---------+
| /dev/loop101 | Failure |
+--------------+---------+
Error: failed to bootstrap OSD: Failed to run: ceph-osd --mkfs --no-mon-config -i 5: exit status 250 (2025-03-05T12:34:44.804+0100 7dd4fe936600 -1 bluestore(/var/lib/ceph/osd/ceph-5) _open_db_and_around failed to load os-type: (2) No such file or directory
2025-03-05T12:34:44.804+0100 7dd4fe936600 -1 bluestore(/var/lib/ceph/osd/ceph-5) mkfs fsck found fatal error: (2) No such file or directory
2025-03-05T12:34:44.804+0100 7dd4fe936600 -1 OSD::mkfs: ObjectStore::mkfs failed with error (2) No such file or directory
2025-03-05T12:34:44.804+0100 7dd4fe936600 -1 ** ERROR: error creating empty object store in /var/lib/ceph/osd/ceph-5: (2) No such file or directory)
Thank you for reporting your feedback to us!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CEPH-1191.
This message was autogenerated
Is this a new loop device or was it being used as an OSD before (in another ceph cluster) as well ?