cephadm
container-based Ceph cluster deployment
TLDR
SYNOPSIS
cephadm [options] command [arguments]
DESCRIPTION
cephadm deploys and manages Ceph distributed storage clusters using containers (Podman preferred, Docker supported). It is the modern orchestration tool for Ceph, replacing older deployment methods like ceph-deploy and ceph-ansible.The tool handles the complete cluster lifecycle: bootstrapping a new cluster on a single node, adding hosts, deploying daemons (monitors, OSDs, managers, gateways), and upgrading the cluster. Each Ceph daemon runs in its own container, providing isolation and simplified upgrades.The `bootstrap` command creates an initial single-node cluster with a monitor and manager, generates admin credentials, and sets up the orchestrator for subsequent operations. The `shell` command provides an interactive environment inside a Ceph container with all management tools available.
PARAMETERS
--mon-ip ip
Monitor IP address for bootstrap--cluster-network CIDR
Restrict the OSD replication network to the given subnet.--ssh-user USER
User cephadm should SSH to remote hosts as (default `root`).--initial-dashboard-user, --initial-dashboard-password
Credentials for the Ceph Dashboard created during bootstrap.--skip-dashboard
Do not enable the dashboard.--fsid UUID
Reuse an existing cluster FSID instead of generating one.--name name
Service or daemon name--image image
Container image to use--docker
Force the use of Docker instead of Podman.-v, --verbose
Increase logging verbosity.
SUBCOMMANDS
bootstrap
Initialize a new Ceph clusteradd-host
Add a host to the clusterrm-host
Remove a host from the clusterdeploy
Deploy a daemonrm-daemon
Remove a daemonshell
Enter interactive shell in Ceph containerenter
Run a command inside an existing Ceph containerls
List all Ceph daemons running on this hostps
Show status of daemons (alias of `ls --no-extra-info`)check-host
Verify host prerequisites (packages, time sync, container runtime)prepare-host
Install missing prerequisitesgather-facts
Collect host inventory informationadopt
Adopt a daemon from a legacy (non-cephadm) deploymentlogs
View daemon logsrm-cluster
Destroy the local cluster state (dangerous)
CAVEATS
Requires container runtime (Podman preferred, Docker supported). Bootstrap creates initial admin credentials. Services are managed through the orchestrator, not directly.
