microceph icon indicating copy to clipboard operation
microceph copied to clipboard

error creating empty object store in /var/lib/ceph/osd/ceph-5: (2) No such file or directory)

Open usma0118 opened this issue 9 months ago • 2 comments

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)

usma0118 avatar Mar 05 '25 11:03 usma0118

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 ?

UtkarshBhatthere avatar Mar 20 '25 08:03 UtkarshBhatthere