From 9c57134f47fa0f160fddb0845d87f53b33ae9a3c Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 7 Dec 2019 21:54:33 +0100 Subject: [PATCH] add set max_mds of cephfs to 2 --- bootstrap.sh | 1 + 1 file changed, 1 insertion(+) 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