summaryrefslogtreecommitdiffstats
path: root/server/setup/zfs_linux_bringup/zfs03-export_import.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-04 14:05:34 +0200
committerSven Gothel <[email protected]>2013-06-04 14:05:34 +0200
commit4f170e86e6e650df9a20166b18ebc7729d14ca47 (patch)
treeb298449c43c87ab357dc97b94265555ce29f788a /server/setup/zfs_linux_bringup/zfs03-export_import.sh
parent3d29685ac14d29b0f0e49a8401028c74c3e26d7a (diff)
Updated as being used on new jogamp.org server .. working so far.
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