cephadm is a new function introduced in Ceph Octopus 15. It allows for an easier method to install and manage Ceph nodes.
On ncn-s001, ncn-s002, or ncn-s003:
cephadm shell
The previous command creates a container and opens an interactive shell with access to run Ceph commands the traditional way.
Alternatively, execute the command as follows:
cephadm shell -- ceph -s
There are multiple ways to do Ceph device operations now.
cephadmcephadm ceph-volume
cephadm shellcephadm shell -- ceph-volume
Optionally you can start a cephadm shell, then run ceph-volume commands from there. The following example shows doing this on ncn-s002:
cephadm shell
Inferring fsid 503633ce-a0ac-11ec-b2ae-b8599ff91d22
Inferring config /var/lib/ceph/503633ce-a0ac-11ec-b2ae-b8599ff91d22/mon.ncn-s002/config
Using recent ceph image registry.local/ceph/ceph@sha256:4506cf7b74fd97978cb130cb7a390a9a06d6d68d48c84aa41eb516507b66009c
[ceph: root@ncn-s002 /]# ceph-volume
ceph orchceph orch device ls
Optionally you can specify a single node name to just list that node’s drives:
ceph orch device ls ncn-s002