ceph osd pool create {pool-name} {pg-num} [{pgp-num}] [replicated] \ [crush-ruleset-name] [expected-num-objects] ceph osd pool create {pool-name} {pg-num} {pgp-num} erasure \ [erasure-code-profile] [crush-ruleset-name] [expected_num_objects]2、配置pool配额
ceph osd pool set-quota {pool-name} [max_objects {obj-count}] [max_bytes ytes]3、删除pool
ceph osd pool delete {pool-name} [{pool-name} ——yes-i-really-really-mean-it]4、重命名pool
ceph osd pool rename {current-pool-name} {new-pool-name}5、展示pool统计
rados df6、给pool做快照
ceph osd pool mksnap {pool-name} {snap-name}7、删除pool快照
ceph osd pool rmsnap {pool-name} {snap-name}
8、配置pool的相关参数
ceph osd pool set {pool-name} {key} {value}
9、获取poo参数的值
ceph osd pool get {pool-name} {key}
10、配置对象副本数目
ceph osd pool set {poolname} size {num-replicas}11、获取对象副本数目
ceph osd dump | grep 'replicated size'