Ceph/Maintenace

From Omnia
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/