Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New scripts to aid in testing; on one machine you should be able to run
[fs/lustre-release.git]
/
lustre
/
tests
/
llmountcleanup.sh
1
#!/bin/sh
2
3
SRCDIR="`dirname $0`"
4
. $SRCDIR/common.sh
5
6
umount /mnt/obd
7
8
rmmod llight
9
rmmod mdc
10
11
$R/usr/src/obd/utils/obdctl <<EOF
12
device 3
13
cleanup
14
detach
15
device 2
16
cleanup
17
detach
18
device 1
19
cleanup
20
detach
21
device 0
22
cleanup
23
detach
24
quit
25
EOF
26
27
rmmod mds
28
rmmod osc
29
rmmod ost
30
rmmod obdext2
31
rmmod obdclass
32
rmmod ptlrpc
33
34
$R/usr/src/portals/linux/utils/ptlctl <<EOF
35
setup tcp
36
disconnect localhost
37
del_uuid self
38
del_uuid mds
39
EOF
40
41
rmmod ksocknal
42
killall acceptor
43
rmmod portals
44
45
losetup -d ${LOOP}0
46
losetup -d ${LOOP}1