Skip to content

Commit

Permalink
Do not export pool to prevent cache from been removed
Browse files Browse the repository at this point in the history
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
  • Loading branch information
derekdai authored and behlendorf committed Jun 5, 2014
1 parent 69c7bdb commit 7a870db
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions etc/init.d/zfs.lsb.in
Expand Up @@ -112,13 +112,6 @@ stop()
"$ZFS" umount -a
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"
}

Expand Down

0 comments on commit 7a870db

Please sign in to comment.