From 6a370ca2b52c1046446e4f99394e8818a8820e58 Mon Sep 17 00:00:00 2001 From: David Marec Date: Sun, 14 Oct 2018 11:33:44 +0200 Subject: [PATCH] duplicatre dataset --- zfsinstall.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zfsinstall.sh b/zfsinstall.sh index a2673d4..441cc3e 100644 --- a/zfsinstall.sh +++ b/zfsinstall.sh @@ -60,14 +60,12 @@ done zfs create -o atime=off -o mountpoint=/ ${ZPOOL}/ROOT/master zfs create -o mountpoint=/usr/obj ${ZPOOL}/ROOT/obj zfs create -o compression=off -o mountpoint=/usr/src ${ZPOOL}/ROOT/src +zfs create -o copies=1 -o mountpoint=/usr/doc -o compression=on ${ZPOOL}/ROOT/doc # useless ? as far /tmp mountpoint will be mounted by tmpfs zfs create -o mountpoint=/tmp ${ZPOOL}/ROOT/tmp zfs create -o mountpoint=/usr/local ${ZPOOL}/LOCAL zfs create -o mountpoint=/usr/local/etc ${ZPOOL}/LOCAL/config -zfs create -o copies=1 -o mountpoint=/usr/src -o compression=off ${ZPOOL}/src -zfs create -o copies=1 -o mountpoint=/usr/doc -o compression=on ${ZPOOL}/doc -zfs create -o copies=1 -o mountpoint=/usr/obj -o compression=on ${ZPOOL}/obj zfs create -o mountpoint=/var ${ZPOOL}/VAR/master -- 2.47.0