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
- minor further changes to the test script:
[fs/lustre-release.git]
/
lustre
/
tests
/
llmountcleanup.sh
1
#!/bin/sh
2
3
SRCDIR="`dirname $0`"
4
. $SRCDIR/common.sh
5
6
umount /mnt/lustre || fail "cannot unmount"
7
8
killall acceptor
9
rmmod llite
10
rmmod mdc
11
12
$OBDCTL <<EOF
13
name2dev OSCDEV
14
cleanup
15
detach
16
name2dev LDLMDEV
17
cleanup
18
detach
19
name2dev RPCDEV
20
cleanup
21
detach
22
name2dev OSTDEV
23
cleanup
24
detach
25
name2dev FILTERDEV
26
cleanup
27
detach
28
name2dev MDSDEV
29
cleanup
30
detach
31
quit
32
EOF
33
34
rmmod obdecho
35
rmmod mds
36
rmmod osc
37
rmmod ost
38
rmmod obdfilter
39
rmmod obdext2
40
rmmod ldlm
41
rmmod ptlrpc
42
rmmod obdclass
43
44
$PTLCTL <<EOF
45
setup tcp
46
disconnect
47
del_uuid self
48
del_uuid mds
49
del_uuid ost
50
del_uuid ldlm
51
quit
52
EOF
53
54
rmmod kqswnal
55
rmmod ksocknal
56
rmmod portals
57
58
losetup -d ${LOOP}0
59
losetup -d ${LOOP}1
60
losetup -d ${LOOP}2