diff --git a/bootstrap.sh b/bootstrap.sh index b13cfa2..75eecfc 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -44,6 +44,7 @@ docker run -d --rm --net=ceph --hostname $(hostname) -v /ceph/mds/etc/ceph:/etc/ #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 osd pool set cephfs_data pg_autoscale_mode on docker exec ceph_mon ceph osd pool set cephfs_metadata pg_autoscale_mode on