From 1b1bd1f338f36c08bcee7a620b9f66b94c3ae703 Mon Sep 17 00:00:00 2001 From: Yu Jian Date: Thu, 28 Apr 2011 14:25:09 +0800 Subject: [PATCH] LU-230 fix yml_entities() to create MDS entity There is only one MDS on b1_8. Signed-off-by: Yu Jian Change-Id: I4ab3f0ad27ab76dd77ef9cc153b932b315ea9c4d Reviewed-on: http://review.whamcloud.com/464 Reviewed-by: Bobi Jam Tested-by: Hudson Reviewed-by: Chris Gearing Reviewed-by: Johann Lombardi --- lustre/tests/yaml.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lustre/tests/yaml.sh b/lustre/tests/yaml.sh index f5803e2..659977ca 100644 --- a/lustre/tests/yaml.sh +++ b/lustre/tests/yaml.sh @@ -123,10 +123,9 @@ EOF yml_entities() { local host - for num in $(seq $MDSCOUNT); do - host=$(facet_active_host mds$num) - yml_entity "MDS $num" $host >> $logdir/node.$host.yml - done + + host=$(facet_active_host mds) + yml_entity "MDS 1" $host >> $logdir/node.$host.yml for num in $(seq $OSTCOUNT); do host=$(facet_active_host ost$num) -- 1.8.3.1