Use this when automating Ceph on Proxmox.
Ceph Automation · Proxmox Automation
Ceph automation in Proxmox uses pveceph and the API to create monitors, managers, OSDs and pools, and checks health with ceph -s, keeping hyper-converged clusters consistent.
1. Ceph automation with pveceph or Ansible.
2. Health checks before/after.
3. One change at a time.
4. Wait for HEALTH_OK.
5. Document OSD layout.
automation → pveceph → Ceph cluster
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Automating OSD changes while the cluster is not HEALTH_OK.
size 2 min_size 1pools.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- pveceph manages Ceph on Proxmox.
- Check health before and after changes.
- One OSD per disk.
pveceph status / ceph -s— Ceph healthpveceph pool create <name> --add_storages— create poolpveceph osd create /dev/<dev>— add OSD
ReferenceWhy it matters1 section · depth on demand
What it is
Ceph on Proxmox is managed with pveceph and ceph commands: pools, OSDs, monitors.
ReferenceImportant terms & boundaries2 sections · depth on demand
Example
pveceph pool create vmpool --size 3 --min_size 2
ceph -s
ceph osd tree
How it works
Proxmox wraps Ceph management with pveceph (install, mon/mgr/osd/pool creation) and adds pools as storage entries. Ceph keeps data with replication (size/min_size) across failure domains defined in the CRUSH map.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Proxmox Automation > Ceph Automation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/api-viewer/ · confidence 94%