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
Removes all traces of mds_req, mds_rep, ost_req, and ost_rep. All subsystems
[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
killall acceptor
9
rmmod llight
10
rmmod mdc
11
12
$OBDCTL <<EOF
13
device 3
14
cleanup
15
detach
16
device 2
17
cleanup
18
detach
19
device 1
20
cleanup
21
detach
22
device 0
23
cleanup
24
detach
25
quit
26
EOF
27
28
rmmod obdecho
29
rmmod mds
30
rmmod osc
31
rmmod ost
32
rmmod obdfilter
33
rmmod obdext2
34
rmmod ldlm
35
rmmod ptlrpc
36
rmmod obdclass
37
38
$PTLCTL <<EOF
39
setup tcp
40
disconnect
41
del_uuid self
42
del_uuid mds
43
del_uuid ost
44
quit
45
EOF
46
47
rmmod kqswnal
48
rmmod ksocknal
49
rmmod portals
50
51
losetup -d ${LOOP}0
52
losetup -d ${LOOP}1
53
losetup -d ${LOOP}2