Proxmox VEXVIII · Maintenance & LifecycleUpgrades
Major upgrades: PVE version upgrades and Ceph upgrades
What you'll learn
- Plan a major PVE upgrade
- Plan a Ceph upgrade
- Test before upgrading production
- Roll back if an upgrade goes wrong
Prerequisites
Verified against Proxmox VE 9.2.4 · Proxmox Backup Server 4.2.5 · Ceph Squid / Tentacle · Debian 13 (Trixie) · Linux kernel 7.0 (PVE 9.2 default) · 2026-08-07
Why this matters in production
A botched major upgrade can take down the entire cluster. Planned, tested upgrades are routine.
Major PVE upgrade overview
A major PVE upgrade changes the underlying Debian release (e.g. Bookworm to Trixie) and may include schema migrations.
Process:
- Read the official upgrade guide.
- Verify the cluster is healthy.
- Test in a non-production cluster.
- Schedule a maintenance window.
- Upgrade one node at a time.
- Validate after each node.
pveversion -v
apt update && apt list --upgradable | grep pve
Ceph upgrade
Ceph upgrades are also major operations. Ceph uses a phased upgrade process:
- Set the
require_osd_releaseflag to prevent OSDs from joining with mismatched versions. - Upgrade MONs (one at a time).
- Upgrade MGRs.
- Upgrade OSDs in batches.
- Optionally upgrade MDSs.
- Set
require_osd_releaseto the new version.
ceph versions
ceph osd require-osd-release nautilus
Rolling upgrade of Ceph
sequenceDiagram
participant Ops as Operator
participant MON1 as MON 1
participant MON2 as MON 2
participant MON3 as MON 3
participant OSD as OSD
Ops->>MON1: upgrade
Note over MON1: restarted with new version
Ops->>MON2: upgrade
Note over MON2: restarted
Ops->>MON3: upgrade
Note over MON3: restarted
Ops->>OSD: upgrade batch 1
Ops->>OSD: upgrade batch 2
Each step validates the cluster remains healthy (ceph -s).
Testing before upgrading
A non-production cluster must:
- Match the production cluster’s hardware and configuration.
- Run a representative workload.
- Be upgrade-tested before production.
If you don’t have such a cluster, build one.
Rollback
Major upgrades cannot be cleanly rolled back. The standard mitigation is:
- Snapshot VM disks before upgrade (snapshot mode).
- Backup to PBS before upgrade.
- Have an off-site PBS that can restore from.
If the upgrade fails, the recovery is:
- Reinstall the previous version.
- Restore from PBS.
- Investigate the failure.
This is why testing in a non-production cluster is critical.
Production considerations
Common mistakes
- Upgrading all nodes simultaneously.
- Skipping the non-production test.
- Not having a documented rollback path.
Key takeaways
- Test before upgrading.
- Upgrade one node at a time.
- Backup before upgrading.
- Follow the official guide exactly.
Knowledge check
Knowledge check · 3 questions
Q1. Why test a major upgrade in a non-production cluster first?
Q2. Ceph upgrades can be applied to all OSDs simultaneously.
Q3. Which Ceph flag prevents OSDs with mismatched versions from joining?
Passing score: 75%. Answers are checked in this browser.