summaryrefslogtreecommitdiffstats
path: root/server/setup/zfs_linux_bringup/zfs03-export_import.sh
diff options
context:
space:
mode:
Diffstat (limited to 'server/setup/zfs_linux_bringup/zfs03-export_import.sh')
-rw-r--r--server/setup/zfs_linux_bringup/zfs03-export_import.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/setup/zfs_linux_bringup/zfs03-export_import.sh b/server/setup/zfs_linux_bringup/zfs03-export_import.sh
index 9af520a..90a5cbe 100644
--- a/server/setup/zfs_linux_bringup/zfs03-export_import.sh
+++ b/server/setup/zfs_linux_bringup/zfs03-export_import.sh
@@ -2,10 +2,10 @@
zpool set bootfs=jogamp07/system/debian7_01 jogamp07
-zpool set cachefile=/etc/zfs/zpool.cache jogamp07
-
zpool export jogamp07
zpool import -R /mnt/new jogamp07
+zpool set cachefile=/etc/zfs/zpool.cache jogamp07
+
mkdir -p /mnt/new/etc/zfs
cp -a /etc/zfs/zpool.cache /mnt/new/etc/zfs