Public bug reported:

I created an OSD with the following command:

sudo ceph-volume lvm create --bluestore \
    --data /dev/disk/by-id/<HDD_ID> \
    --block.db /dev/disk/by-id/<NVME_PART_ID>

Creation succeded:

<SNIP>

Running command: /usr/bin/systemctl start ceph-osd@0
--> ceph-volume lvm activate successful for osd ID: 0
--> ceph-volume lvm create successful for: /dev/sdc

However:

sudo ceph osd tree
ID  CLASS  WEIGHT  TYPE NAME     STATUS  REWEIGHT  PRI-AFF
-1              0  root default
 0              0  osd.0           down   1.00000  1.00000

And it seems that the osd daemon core dumped:

 sudo systemctl status ceph-osd@0 --no-pager -l
× [email protected] - Ceph object storage daemon osd.0
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; 
enabled-runtime; preset: enabled)
     Active: failed (Result: core-dump) since Tue 2026-06-23 20:15:41 UTC; 1min 
39s ago
   Duration: 716ms
 Invocation: 8a27132077044269a04bab9b48bff244
    Process: 13214 ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --id 0 
(code=exited, status=0/SUCCESS)
    Process: 13218 ExecStart=/usr/bin/ceph-osd -f --id 0 --setuser ceph 
--setgroup ceph (code=dumped, signal=ABRT)
   Main PID: 13218 (code=dumped, signal=ABRT)
   Mem peak: 14.3M
        CPU: 221ms


Claude AI pointed to a missing link (/var/lib/ceph/osd/ceph-0/block.db >> 
/dev/nvme0n1p4)

Indeed creating the link fixed the problem:

sudo ln -s /dev/nvme0n1p4 /var/lib/ceph/osd/ceph-0/block.db
sudo chown -h ceph:ceph /var/lib/ceph/osd/ceph-0/block.db
sudo chown ceph:ceph /dev/nvme0n1p4

sudo systemctl status ceph-osd@0 --no-pager -l
● [email protected] - Ceph object storage daemon osd.0
     Loaded: loaded (/usr/lib/systemd/system/[email protected]; 
enabled-runtime; preset: enabled)
     Active: active (running) since Tue 2026-06-23 20:22:56 UTC; 2min 16s ago
 Invocation: 43784a1d93c84d01a576b3467899a1e4
    Process: 13551 ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --id 0 
(code=exited, status=0/SUCCESS)
   Main PID: 13556 (ceph-osd)
      Tasks: 59
     Memory: 71.4M (peak: 498.6M)
        CPU: 1.720s
     CGroup: /system.slice/system-ceph\x2dosd.slice/[email protected]
             └─13556 /usr/bin/ceph-osd -f --id 0 --setuser ceph --setgroup ceph

sudo ceph osd tree
ID  CLASS  WEIGHT    TYPE NAME          STATUS  REWEIGHT  PRI-AFF
-1         14.94339  root default
-3         14.94339      host <HOSTNAME>
 0    hdd  14.94339          osd.0          up   1.00000  1.00000

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ceph 20.2.0-0ubuntu2
ProcVersionSignature: Ubuntu 7.0.0-22.22-generic 7.0.0
Uname: Linux 7.0.0-22-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Jun 24 17:20:10 2026
InstallationDate: Installed on 2026-06-18 (6 days ago)
InstallationMedia: Ubuntu-Server 26.04 "Resolute Raccoon" - Release amd64 
(20260420.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm
SourcePackage: ceph
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ceph (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158131

Title:
  Issue when creating a ceph OSD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2158131/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to