|
|
|
@ -50,10 +50,12 @@ docker run -d --rm --net=ceph -v /cephfs:/cephfs:shared -v /ceph/client/etc/ceph
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#set cephfs autoscaling
|
|
|
|
|
docker exec ceph_mon ceph mgr module enable pg_autoscaler
|
|
|
|
|
docker exec ceph_mon ceph fs set cephfs max_mds 2
|
|
|
|
|
docker exec ceph_mon ceph mgr module enable pg_autoscaler
|
|
|
|
|
docker exec ceph_mon ceph osd pool set cephfs_data pg_autoscale_mode on
|
|
|
|
|
docker exec ceph_mon ceph osd pool set cephfs_data target_size_ratio .8
|
|
|
|
|
docker exec ceph_mon ceph osd pool set cephfs_metadata pg_autoscale_mode on
|
|
|
|
|
docker exec ceph_mon ceph osd pool set cephfs_metadata target_size_ratio .2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#status
|
|
|
|
|