From c2a449ad15e95a3b823e2e1e9ddd07bc1d097361 Mon Sep 17 00:00:00 2001 From: rread Date: Wed, 17 Jul 2002 01:31:13 +0000 Subject: [PATCH] - mountpoint uses mdc, not mds - still not getting connectoin to lov, though --- lustre/tests/lov.xml | 2 +- lustre/utils/lconf | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lustre/tests/lov.xml b/lustre/tests/lov.xml index 95756bb..02ac6fa 100644 --- a/lustre/tests/lov.xml +++ b/lustre/tests/lov.xml @@ -78,7 +78,7 @@ /mnt/lov1 - + diff --git a/lustre/utils/lconf b/lustre/utils/lconf index bc9eaa1..e453656 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -370,10 +370,10 @@ def prepare_mdc(node): setup ="%s %s" %(mdsuuid, netuuid)) def prepare_mountpoint(node): - name, uuid, oscuuid, mdsuuid, mtpt = getMTPTInfo(node) - print 'MTPT:', name, uuid, oscuuid, mdsuuid, mtpt + name, uuid, oscuuid, mdcuuid, mtpt = getMTPTInfo(node) + print 'MTPT:', name, uuid, oscuuid, mdcuuid, mtpt cmd = "mount -t lustre_lite -o ost=%s,mds=%s none %s" % \ - (oscuuid, mdsuuid, mtpt) + (oscuuid, mdcuuid, mtpt) run("mkdir", mtpt) run(cmd) # ============================================================ @@ -451,8 +451,8 @@ def cleanup_osc(node): print "cleanup failed: ", name def cleanup_mountpoint(node): - name, uuid, oscuuid, mdsuuid, mtpt = getMTPTInfo(node) - print 'MTPT:', name, uuid, oscuuid, mdsuuid, mtpt + name, uuid, oscuuid, mdcuuid, mtpt = getMTPTInfo(node) + print 'MTPT:', name, uuid, oscuuid, mdcuuid, mtpt run("umount", mtpt) # ============================================================ @@ -553,11 +553,11 @@ def getOSCInfo(node): def getMTPTInfo(node): name, uuid = getNodeAttr(node) path = getText(node, 'path') - ref = node.getElementsByTagName('mds_ref')[0] - mdsuuid = ref.getAttribute('uuidref') + ref = node.getElementsByTagName('mdc_ref')[0] + mdcuuid = ref.getAttribute('uuidref') ref = node.getElementsByTagName('lov_ref')[0] lovuuid = ref.getAttribute('uuidref') - return (name, uuid, mdsuuid, lovuuid, path) + return (name, uuid, lovuuid, mdcuuid, path) # Get the text content from the first matching child -- 1.8.3.1