Mr.PlanB Logo

    Newsletter

    Subscribe our newsletter

    Get new infrastructure guides, comparison reports, and migration notes in your inbox.

    Infrastructure notes, guides, and new tools. Unsubscribe anytime.

    Back to Blog
    Proxmox
    Ceph
    Storage
    Homelab
    Disaster Recovery

    Proxmox Ceph power loss: what to check first

    November 25, 2026
    6 min read

    After a Proxmox Ceph power loss on every node, do as little as possible at first. Power up the monitor nodes, let the placement groups finish peering, read ceph -s and ceph health detail, and start guests only when the PGs are active. Never mark an OSD lost or wipe a disk in the first hour: that is how an outage becomes data loss.

    The question came up again this month in an r/Proxmox thread titled "Proxmox ceph cluster power loss". It is a fair worry: the first ceph -s after a cold boot looks alarming, and the urge to fix something right away is strong. Most of what it shows clears up on its own once every OSD is back.

    Understand the power-on sequence

    The Proxmox VE documentation gives a power-on order. First, boot the physical hosts running your Ceph Monitor (ceph-mon) daemons. Monitors hold the master copy of the cluster map and require a strict quorum (more than half of the configured monitors) to process any cluster state changes. If your monitors cannot establish quorum, the storage layer remains locked.

    Once the monitor hosts are online and corosync establishes quorum across Proxmox VE, boot the remaining compute and storage nodes. Confirm that all Ceph daemons are running across every node:

    ceph -s
    

    Check the health line and the services block. If the cluster was cleanly halted before the outage, the only warning should be an administrative noout flag. If the outage was abrupt, you will see warnings regarding offline OSDs and non-clean placement groups. Hold the guests until the OSDs are up. It does not matter whether a workload is an LXC or VM: both sit on the same RBD images and wait for the same PGs. Highly available guests are the exception you plan for, because the docs say they change to started on their own when the nodes come up.

    Decode placement group states

    Placement group (PG) health is the number to watch after an outage. Placement groups organize data across OSDs, and their states indicate whether client storage requests will be safely handled or rejected.

    The following table, assembled from the Proxmox VE Ceph documentation and upstream Ceph placement group reference docs, details the states you will observe during recovery:

    PG state you seeWhat Ceph says it meansWhat to do
    peeringThe placement group is undergoing the peering processWait. Do not start guests yet.
    staleThe monitors have not received an update from the PG's primary OSDFind the OSD that is down or not reporting: ceph osd tree
    downA replica with necessary data is down, so the PG is offlineBring that OSD back (check its node, disk, journalctl). Do not mark it lost.
    degraded / undersizedFewer copies than the pool's replication levelGuests can run; recovery will catch up once all OSDs are up
    incompleteCeph is missing information about writes that may have occurred, or has no healthy copiesStop. Every OSD that held the PG must come back before you touch anything else
    active+cleanCeph will process requests, and replicated all objects the right number of timesStart guests

    Peering means that OSDs are exchanging logs to determine which disk holds the most authoritative copy of each object. A PG cannot process client reads or writes while peering. A guest started while its PGs are peering or down just sees its disk hang until they become active.

    If placement groups remain stuck in down, stale, or incomplete states, identify which underlying drives failed to start:

    ceph health detail
    ceph osd tree
    

    Look for OSDs listed as down. Inspect the system log on the hosting node to determine why the disk did not mount:

    journalctl -u ceph-osd@* --since "2 days ago"
    dmesg -T
    

    If underlying LVM volumes were not automatically activated during system boot, activate them using:

    ceph-volume lvm activate --all
    

    Do not run ceph osd lost or recreate an OSD while placement groups are incomplete. The PG is waiting for information that only the original OSD has, so getting that disk back (a reseated drive, a host that boots again) is the fix.

    Watch out for clock drift and noout flags

    Clock skew is the first one. The Ceph health check MON_CLOCK_SKEW is raised when the monitors see a skew greater than mon_clock_drift_allowed. A host with a flat RTC battery, or one that boots before the network is up, can start with the wrong time. Fix time sync (chrony on Proxmox VE) on every host instead of raising the threshold.

    The noout flag is the second. If it was set before the outage, or you set it on boot to stop Ceph from marking down OSDs out and moving data, remember to clear it once every node and OSD is up:

    ceph osd unset noout
    

    The Ceph documentation points out that since Luminous you can flag single OSDs (ceph osd add-noout osd.0) or a CRUSH bucket for maintenance on part of a cluster. For a shutdown of the whole cluster, the Proxmox procedure uses the global flag. My post on PG counts before a Ceph upgrade covers the other time you want a clean ceph -s before you start.

    Plan the next shutdown properly

    The best recovery is a shutdown that was planned. If a UPS gives you a few minutes, use them for the procedure in the Proxmox VE documentation (and if the cluster also went down when a switch rebooted, read why a Proxmox cluster reboots itself after a switch power cycle).

    Stop all Ceph clients first: VMs, containers, and anything else using CephFS or a RADOS gateway. Then check that the cluster is healthy:

    ceph -s
    

    Set the flag so Ceph does not start recovery while hosts go down:

    ceph osd set noout
    

    Power off the nodes without a monitor first and the monitor nodes last. When power comes back, start the monitor nodes first, confirm the Ceph services, unset noout and then start the guests. If you are still deciding how many nodes this needs, my minimum viable Ceph cluster for SMBs post covers the layout.

    If you want someone to read your ceph health detail and your cluster layout before you touch anything, that is what my written second opinion is for. My Proxmox book, Proxmox for Everyone, covers clusters from the first node up.

    Frequently Asked Questions

    Is my Ceph data lost after a power outage?

    Usually not from the outage itself. The bigger risk is what happens next: zapping, recreating or marking OSDs lost while placement groups are still peering or waiting for a down OSD. Bring every OSD back and read ceph health detail before you change anything.

    Why are my Ceph PGs stuck peering after reboot?

    Peering is the internal state where OSDs query each other to agree on the state of all objects and historical write logs. If some nodes or disks have not finished booting, or if network connectivity between OSDs is delayed, peering cannot complete until all required replicas communicate.

    Should I set noout before shutting down Proxmox?

    Yes, for a planned shutdown of the whole cluster the Proxmox VE documentation says to run ceph osd set noout after the guests are stopped and ceph -s is healthy. It keeps Ceph from starting recovery while nodes are off. Unset it once everything is back up.

    In what order should I power on a Proxmox Ceph cluster?

    Power on the nodes hosting Ceph Monitor (MON) services first so a quorum can form and the cluster map becomes available. Once all storage nodes and OSDs are online and PGs reach an active state, unset the noout flag and start virtual guests.