Ceph/Maintenance

From Omnia
Revision as of 07:01, 22 September 2024 by Kenneth (talk | contribs) (Kenneth moved page Ceph/Maintenace to Ceph/Maintenance without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Maintenace

Begin maintenance: Ceph constantly tries to keep itself in balance. If you take a node down and it stays down for too long, ceph will begin to rebalance the data among the remaining nodes. If you’re doing short term maintenance, you can control this behavior to avoid unnecessary rebalance traffic.

ceph osd set nobackfill
ceph osd set norebalance

Reboot / perform OSD maintenance.

After maintenance is completed:

ceph osd unset nobackfill
ceph osd unset norebalance

ref: https://techblog.jeppson.org/2023/04/proxmox-ceph-storage-configuration/