From: Yu Jian Date: Thu, 28 Apr 2011 06:25:09 +0000 (+0800) Subject: LU-230 fix yml_entities() to create MDS entity X-Git-Tag: 1.8.5.56~27 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1b1bd1f338f36c08bcee7a620b9f66b94c3ae703;p=fs%2Flustre-release.git 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 --- 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)