nautilus pg autoscaler PG自動伸縮


鏈接地址:
https://ceph.io/rados/new-in-nautilus-pg-merging-and-autotuning/

[root@controller ~]# ceph osd pool autoscale-status
Error ENOTSUP: Module 'pg_autoscaler' is not enabled (required by command 'osd pool autoscale-status'): use `ceph mgr module enable pg_autoscaler` to enable it

使能pg_autoscaler:

ceph mgr module enable pg_autoscaler

查看PG自動伸縮狀態:

 

設置PG自動伸縮:(ceph osd pool set pool_name pg_autoscale_mode on)

設置目標ratio:

ceph osd pool set volumes target_size_ratio .8 

查看是否開啟:

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM