Ceph/Maintenace

From Omnia
Revision as of 05:06, 18 January 2024 by Kenneth (talk | contribs) (Created page with "== 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 os...")
(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/