From: Loic Dachary Date: Fri, 29 Aug 2014 23:43:03 +0000 (+0200) Subject: erasure-code: mkfs.sh needs to know the plugin directory X-Git-Tag: v0.86~165^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6388934b23bdaf6ea8f5ca2a0fa52805c9a5ca40;p=ceph.git erasure-code: mkfs.sh needs to know the plugin directory Signed-off-by: Loic Dachary --- diff --git a/src/test/mon/mkfs.sh b/src/test/mon/mkfs.sh index f228d8067c7b..5e96e8d68c69 100755 --- a/src/test/mon/mkfs.sh +++ b/src/test/mon/mkfs.sh @@ -42,6 +42,7 @@ function mon_mkfs() { ./ceph-mon \ --id $MON_ID \ --fsid $fsid \ + --osd-pool-default-erasure-code-directory=.libs \ --mkfs \ --mon-data=$MON_DIR \ --mon-initial-members=$MON_ID \ @@ -53,6 +54,7 @@ function mon_run() { ./ceph-mon \ --id $MON_ID \ --chdir= \ + --osd-pool-default-erasure-code-directory=.libs \ --mon-data=$MON_DIR \ --log-file=$MON_DIR/log \ --mon-cluster-log-file=$MON_DIR/log \ @@ -77,6 +79,7 @@ function auth_none() { ./ceph-mon \ --id $MON_ID \ + --osd-pool-default-erasure-code-directory=.libs \ --mon-data=$MON_DIR \ --extract-monmap $MON_DIR/monmap @@ -136,6 +139,7 @@ function makedir() { # fail if recursive directory creation is needed ./ceph-mon \ --id $MON_ID \ + --osd-pool-default-erasure-code-directory=.libs \ --mkfs \ --mon-data=$toodeep 2>&1 | tee $DIR/makedir.log grep 'toodeep.*No such file' $DIR/makedir.log > /dev/null