From 7a870db1b90db4ca31b67fbe856fd426431fa8b5 Mon Sep 17 00:00:00 2001 From: Derek Dai Date: Mon, 2 Jun 2014 01:27:58 +0800 Subject: [PATCH] Do not export pool to prevent cache from been removed Signed-off-by: Derek Dai Signed-off-by: Turbo Fredriksson Signed-off-by: Brian Behlendorf Closes #2353 --- etc/init.d/zfs.lsb.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in index 8a61349e8..05e815ede 100644 --- a/etc/init.d/zfs.lsb.in +++ b/etc/init.d/zfs.lsb.in @@ -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" }