Installing Ceph

Proxmox added a small command-line utility called pveceph to perform various Ceph-related tasks. Currently, pveceph can perform the following tasks through the command line:

Command

Task performed

pveceph install

Installs Ceph on the Proxmox node.

pveceph createmon

Creates Ceph monitors and must be run from the node to become a monitor.

pveceph createpool <name>

Creates a new pool. It can be used from any node.

pveceph destroymon <mon_id>

Removes a monitor.

pveceph destroypool <name>

Removes a Ceph pool.

pveceph init --network <x.x.x.0/x>

Creates the initial Ceph configuration file based on the network CIDR used.

pveceph start <service>

Starts Ceph daemon services, such as mon, ...

Get Mastering Proxmox - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.