canonical / canonical/microceph
error creating empty object store in /var/lib/ceph/osd/ceph-5: (2) No such file or directory)
- 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
Assessment
This issue has not been assessed yet.