canonical / canonical/microceph

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

Open
#520 3 comments 0 reactions 0 assignees View on GitHub
question stale
Dominant language
Go
Stars
396
Forks
74
Avg merge
2d 20h
Merged PRs (30d)
7

Description

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)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.