Check out the ownership of the newly created DB device, according to your output it belongs to the root user. In the osd.log you probably should see something related to "permission denied". If you change it to ceph:ceph the OSD might start properly.

Zitat von Roland Giesler <rol...@giesler.za.net>:

Ouch, I got exited too quickly!

On 2023/08/02 21:27, Roland Giesler wrote:
# systemctl start ceph-osd@14

And, viola!, it did it.

# ls -la /var/lib/ceph/osd/ceph-14/block*
lrwxrwxrwx 1 ceph ceph 50 Dec 25  2022 /var/lib/ceph/osd/ceph-14/block -> /dev/mapper/0GVWr9-dQ65-LHcx-y6fD-z7fI-10A9-gVWZkY lrwxrwxrwx 1 root root 10 Aug  2 21:17 /var/lib/ceph/osd/ceph-14/block.db -> /dev/dm-20

It crashed!

# systemctl status ceph-osd@14
● ceph-osd@14.service - Ceph object storage daemon osd.14
     Loaded: loaded (/lib/systemd/system/ceph-osd@.service; enabled-runtime; vendor preset: enabled)
    Drop-In: /usr/lib/systemd/system/ceph-osd@.service.d
             └─ceph-after-pve-cluster.conf
     Active: failed (Result: exit-code) since Wed 2023-08-02 21:18:54 SAST; 10min ago     Process: 520652 ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id 14 (code=exited, status=0/SUCCESS)     Process: 520660 ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id 14 --setuser ceph --setgroup ceph (code=exited, status=1/FAILURE)
   Main PID: 520660 (code=exited, status=1/FAILURE)
        CPU: 90ms

Aug 02 21:18:54 FT1-NodeC systemd[1]: ceph-osd@14.service: Scheduled restart job, restart counter is at 3. Aug 02 21:18:54 FT1-NodeC systemd[1]: Stopped Ceph object storage daemon osd.14. Aug 02 21:18:54 FT1-NodeC systemd[1]: ceph-osd@14.service: Start request repeated too quickly. Aug 02 21:18:54 FT1-NodeC systemd[1]: ceph-osd@14.service: Failed with result 'exit-code'. Aug 02 21:18:54 FT1-NodeC systemd[1]: Failed to start Ceph object storage daemon osd.14. Aug 02 21:28:49 FT1-NodeC systemd[1]: ceph-osd@14.service: Start request repeated too quickly. Aug 02 21:28:49 FT1-NodeC systemd[1]: ceph-osd@14.service: Failed with result 'exit-code'. Aug 02 21:28:49 FT1-NodeC systemd[1]: Failed to start Ceph object storage daemon osd.14.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to