Failed to start osd.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I use "systemctl start ceph.target" to start Ceph Cluster. It runs right when it deploy.
But now I don't known how config was changed. The osd doesn't start.

I get start scirpt from systemctl. And run the following command.

/bin/podman run --rm --ipc=host --net=host --entrypoint /usr/sbin/ceph-volume --privileged --group-add=disk --name ceph-ea39c6f0-fb3b-11eb-9f7a-b8cef60b8e48-osd.1-activate -e CONTAINER_IMAGE=localhost/ceph:v16.2 -e NODE_NAME=dcvm01 -v /var/run/ceph/ea39c6f0-fb3b-11eb-9f7a-b8cef60b8e48:/var/run/ceph:z -v /var/log/ceph/ea39c6f0-fb3b-11eb-9f7a-b8cef60b8e48:/var/log/ceph:z -v /var/lib/ceph/ea39c6f0-fb3b-11eb-9f7a-b8cef60b8e48/crash:/var/lib/ceph/crash:z -v /var/lib/ceph/ea39c6f0-fb3b-11eb-9f7a-b8cef60b8e48/osd.1:/var/lib/ceph/osd/ceph-1:z -v /var/lib/ceph/ea39c6f0-fb3b-11eb-9f7a-b8cef60b8e48/osd.1/config:/etc/ceph/ceph.conf:z -v /dev:/dev -v /run/udev:/run/udev -v /sys:/sys -v /run/lvm:/run/lvm -v /run/lock/lvm:/run/lock/lvm localhost/ceph:v16.2 lvm activate 1 62678371-9389-4cb0-9065-2590862a54f5 --no-systemd

It runs failed. And report the following errors.

Running command: /usr/bin/mount -t tmpfs tmpfs /var/lib/ceph/osd/ceph-1
Running command: /usr/bin/chown -R ceph:ceph /var/lib/ceph/osd/ceph-1
Running command: /usr/bin/ceph-bluestore-tool --cluster=ceph prime-osd-dir --dev /dev/ceph-744510d6-ab17-4f9f-80c8-f216d5b4a133/osd-block-62678371-9389-4cb0-9065-2590862a54f5 --path /var/lib/ceph/osd/ceph-1 --no-mon-config
 stderr: failed to read label for /dev/ceph-744510d6-ab17-4f9f-80c8-f216d5b4a133/osd-block-62678371-9389-4cb0-9065-2590862a54f5: (2) No such file or directory
 stderr: 2021-11-17T09:01:42.108+0000 7efd6d07e3c0 -1 bluestore(/dev/ceph-744510d6-ab17-4f9f-80c8-f216d5b4a133/osd-block-62678371-9389-4cb0-9065-2590862a54f5) _read_bdev_label failed to open /dev/ceph-744510d6-ab17-4f9f-80c8-f216d5b4a133/osd-block-62678371-9389-4cb0-9065-2590862a54f5: (2) No such file or directory
-->  RuntimeError: command returned non-zero exit status: 1

I would very much appreciate any advice.

Best Regards,
GHui
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux