summaryrefslogtreecommitdiffstats
path: root/python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrambk@gmail.com>2011-07-13 18:28:56 +0530
committerRaghavendra Bhat <raghavendrambk@gmail.com>2011-07-13 18:28:56 +0530
commitbf87a7d06b054005040dad8dd7ac878210e8939f (patch)
treed502d224ccc1e4b851285d838c38975871f70c84 /python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh
parentd8ba6881617e9abc01e0fa13bb7e88037fb35315 (diff)
cloud seed
Diffstat (limited to 'python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh')
-rw-r--r--python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh40
1 files changed, 40 insertions, 0 deletions
diff --git a/python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh b/python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh
new file mode 100644
index 0000000..465ffdc
--- /dev/null
+++ b/python_pgms/cloud-on-fly/src/scripts/nfstestcase12.sh
@@ -0,0 +1,40 @@
+#EDIT NFSSERVER MANUALLY
+cd CLOUD_MNT_PT
+
+mkdir `hostname`
+
+for i in {1..6};
+do
+if [ -d $i ];
+then echo " yes";
+else mkdir -p $i;
+break;
+fi;
+done
+cd CLOUD_MNT_PT/`hostname`/$i
+
+mkdir -p /opt/qa/nfstesting/tc12
+cd /opt/qa/nfstesting/tc12
+if [ ! -f /opt/qa/nfstesting/tc12/linux-2.6.33.2.tar.bz2 ]
+then
+wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.33.2.tar.bz2
+tar -xjf linux-2.6.33.2.tar.bz2
+fi
+mkdir -p CLOUD_MNT_PT/`hostname`/$i
+cd /tmp
+umount CLOUD_MNT_PT
+( for k in $(seq 1 100);
+do
+mount "ec2-67-202-6-25.compute-1.amazonaws.com:/statprefetch " CLOUD_MNT_PT
+rsync -avz -ignore-times /opt/qa/nfstesting/tc12/linux-2.6.33.2 CLOUD_MNT_PT/`hostname`/$i
+umount CLOUD_MNT_PT
+done
+) &
+
+
+
+
+
+
+
+