Project

General

Profile

Actions

Support #54069

open

OSD creation fails in new cluster.

Added by Nicky de Jong over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

I've recently rebuilt an old ceph cluster from the ground up, but when trying to create OSDs, some of them fail to come up and in.

I create OSDs using the following commands

```
ceph-volme lvm prepare --bluestore --data /dev/sd* --block.db /dev/sd*-part*
ceph-volume lvm activate --all
cephadm adopt --style legacy --name osd.*
```

Where the data drive is a 4TB HDD and the drive for block.db is a 32GB partition on a SSD.

Ceph osd tree returns
```
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 11.00967 root default
-3 3.66989 host bohr2022-01
0 hdd 3.66989 osd.0 down 1.00000 1.00000
-5 3.66989 host bohr2022-02
1 hdd 3.66989 osd.1 up 1.00000 1.00000
-7 3.66989 host bohr2022-04
3 hdd 3.66989 osd.3 up 1.00000 1.00000
2 0 osd.2 down 0 1.00000
4 0 osd.4 down 0 1.00000
```

ceph --version
```
ceph version 16.2.7 (dd0603118f56ab514f133c8d2e3adfc983942503) pacific (stable)
```

No data to display

Actions

Also available in: Atom PDF