From acd811c4f6ab3e117b2c82726db0b1a87c82751b Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 18 Oct 2002 23:37:55 +0000 Subject: [PATCH] More cruftectomy. --- lustre/scripts/obdtrace_demo.scr | 60 ---------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 lustre/scripts/obdtrace_demo.scr diff --git a/lustre/scripts/obdtrace_demo.scr b/lustre/scripts/obdtrace_demo.scr deleted file mode 100644 index 0601235..0000000 --- a/lustre/scripts/obdtrace_demo.scr +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright (C) 2001 Cluster File Systems, Inc. -# -# This code is issued under the GNU General Public License. -# See the file COPYING in this distribution -# Print OS version -shell uname -r -# Insert Lustre kernel modules -insmod class/obdclass.o -procsys trace 0 -procsys debug 0 -insmod ext2obd/obdext2.o -insmod obdtrace/obdtrace.o -insmod obdfs/obdfs.o -# Configure direct driver on /dev/obd0 -device /dev/obd0 -attach obdext2 -setup /dev/sda2 -# Configure obdtrace on /dev/obd1 -device /dev/obd1 -attach obdtrace -setup /dev/obd0 -# What's the obd status -status -shell cat /proc/lustre/obd/1/stats -# mount obd file system -shell mkdir -p /mnt/obd -shell mount -t obdfs -odevice=/dev/obd1 none /mnt/obd -shell mount -# Prepare a data set (tar file of current directory) -shell rm -f /tmp/obdtrace_test.tar -shell tar cf /tmp/obdtrace_test.tar . -# make a directory on obd device -shell mkdir -p /mnt/obd/obdtrace_test_dir -# Unpack tarfile to obd device -shell tar -C /mnt/obd/obdtrace_test_dir -xf /tmp/obdtrace_test.tar -shell rm -rf /mnt/obd/obdtrace_test_dir -# Check obdtrace performance stats -status -shell cat /proc/lustre/obd/1/stats -shell echo 0 > /proc/lustre/obd/1/stats -shell cat /proc/lustre/obd/1/stats -# Umount file system -shell umount /mnt/obd -# Cleanup /tmp -shell rm -f /tmp/obdtrace_test.tar -# Dismantle /dev/obd1 -device /dev/obd1 -cleanup -detach -close -# Dismantle /dev/obd0 -device /dev/obd0 -cleanup -detach -close -# Remove all loaded kernel modules -rmmod obdfs -rmmod obdtrace -rmmod obdext2 -rmmod obdclass -- 1.8.3.1