Do not export pool to prevent cache from been removed
Signed-off-by: Derek Dai <daiderek@gmail.com> Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2353
This commit is contained in:
parent
69c7bdb6e7
commit
7a870db1b9
|
@ -112,13 +112,6 @@ stop()
|
||||||
"$ZFS" umount -a
|
"$ZFS" umount -a
|
||||||
log_end_msg $?
|
log_end_msg $?
|
||||||
|
|
||||||
log_begin_msg "Exporting ZFS pools"
|
|
||||||
"$ZPOOL" list -H -o name | \
|
|
||||||
while read pool; do
|
|
||||||
"$ZPOOL" export $pool
|
|
||||||
done
|
|
||||||
log_end_msg $?
|
|
||||||
|
|
||||||
rm -f "$LOCKFILE"
|
rm -f "$LOCKFILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue