From: David Marec Date: Sun, 14 Oct 2018 09:33:44 +0000 (+0200) Subject: duplicatre dataset X-Git-Url: http://popeye.lapinbilly.eu/git/?a=commitdiff_plain;ds=inline;h=6a370ca2b52c1046446e4f99394e8818a8820e58;hp=34938d26559b5bd64a4bd496459ad5c1b89b92ee;p=zfsinstaller.git duplicatre dataset --- 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