From 6a9445c2cbe6c0c7045bfaed007cc1920ad132ed Mon Sep 17 00:00:00 2001 From: jinmyeonglee Date: Thu, 22 Oct 2020 17:25:51 +0900 Subject: [PATCH] vstart.sh: fix fs set max_mds bug Fix a bug where the name used when creating a volume and the name used when setting max_mds were different. Fixes: https://tracker.ceph.com/issues/47946 Signed-off-by: Jinmyeong Lee --- src/vstart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vstart.sh b/src/vstart.sh index b054da99547..6157995984c 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -1381,7 +1381,7 @@ do [ $fs -eq $CEPH_NUM_FS ] && break fs=$(($fs + 1)) if [ "$CEPH_MAX_MDS" -gt 1 ]; then - ceph_adm fs set "cephfs_${name}" max_mds "$CEPH_MAX_MDS" + ceph_adm fs set "${name}" max_mds "$CEPH_MAX_MDS" fi done