Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
demos/snaprest.sh: ensure client is disconnected after snaprestore
[fs/lustre-release.git]
/
lustre
/
demos
/
snaprestclean.sh
diff --git
a/lustre/demos/snaprestclean.sh
b/lustre/demos/snaprestclean.sh
index
855362e
..
52c6cee
100755
(executable)
--- a/
lustre/demos/snaprestclean.sh
+++ b/
lustre/demos/snaprestclean.sh
@@
-10,6
+10,8
@@
if [ x$? = x0 ]; then
exit
fi
+rmmod obdfs
+
$OBDDIR/class/obdcontrol -f << EOF
device /dev/obd2
cleanup
@@
-20,7
+22,6
@@
detach
quit
EOF
-rmmod obdfs
rmmod obdsnap
rmmod obdext2
rmmod obdclass