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 <[email protected]>
Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
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
Original file line number Diff line number Diff line change
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.