「Ceph」- 维护管理:Pool

  CREATED BY JENKINSBOT

缩小副本数

[SOLVED] – change num-replicas on ceph rool online? | Proxmox Support Forum

ceph osd pool set POOL_NAME size 3
ceph osd pool set POOL_NAME min_size 2

// 缩小到 1 个副本

# ceph config set global mon_allow_pool_size_one true
# ceph osd pool set data_pool min_size 1
# ceph osd pool set data_pool size 1 --yes-i-really-mean-it

允许删除:

# ceph config set global mon_allow_pool_delete true
# ceph osd pool delete 'pool name' 'pool name' --yes-i-really-really-mean-it