Whamcloud - gitweb
lllocalmount: startup and mount a lustre lite FS with no networking
[fs/lustre-release.git] / lustre / tests / llmountcleanup.sh
1 umount /mnt/obd
2
3 rmmod llight
4 rmmod mdc
5 /usr/src/obd/utils/obdctl <<EOF
6 device 3
7 cleanup
8 detach
9 device 2
10 cleanup
11 detach
12 device 1
13 cleanup
14 detach
15 device 0
16 cleanup
17 detach
18 quit
19 EOF
20 rmmod mds
21 rmmod osc
22 rmmod ost
23 rmmod obdext2
24 rmmod obdclass
25 rmmod ptlrpc
26 /usr/src/portals/linux/utils/ptlctl <<EOF
27 setup tcp localhost 1234
28 disconnect self
29 disconnect mds
30 EOF
31 rmmod ksocknal
32 killall acceptor
33 rmmod portals