Date: Wed, 12 Mar 2014 08:16:34 -0700 From: <dteske@FreeBSD.org> To: "=?iso-8859-1?Q?'Trond_Endrest=F8l'?=" <Trond.Endrestol@fagskolen.gjovik.no>, "'David Christensen'" <dpchrist@holgerdanske.com> Cc: dteske@FreeBSD.org, freebsd-questions@freebsd.org Subject: RE: FreeBSD 10 installer and ZFS root Message-ID: <1d7201cf3e06$0f3e49e0$2dbadda0$@FreeBSD.org> In-Reply-To: <alpine.BSF.2.00.1403110814250.720@mail.fig.ol.no> References: <53197EF6.4070902@holgerdanske.com> <5319913D.4040207@infracaninophile.co.uk> <10334f5b74b05d9445d071bd08f73a24@dweimer.net> <531A0A0B.3010902@holgerdanske.com> <eca03739afb425884241ed23c4202a7b@dweimer.net> <531D51EF.1080804@holgerdanske.com> <531D6737.4020708@infracaninophile.co.uk> <531E0287.6060907@holgerdanske.com> <alpine.BSF.2.00.1403110814250.720@mail.fig.ol.no>
index | next in thread | previous in thread | raw e-mail
> -----Original Message----- > From: Trond Endrestøl [mailto:Trond.Endrestol@fagskolen.gjovik.no] > Sent: Tuesday, March 11, 2014 12:28 AM > To: David Christensen > Cc: freebsd-questions@freebsd.org > Subject: Re: FreeBSD 10 installer and ZFS root > > On Mon, 10 Mar 2014 11:20-0700, David Christensen wrote: > > > On 03/10/2014 12:18 AM, Matthew Seaman wrote: > > > On 10/03/2014 05:47, David Christensen wrote: > > > > Question -- can I set encryption options for ada0s1d.eli > > > > during installation? > > > Not sure. Unless you know exactly what you're doing with crypto > > > stuff, I'd advise taking the defaults the installer gives you, or > > > you could accidentally end up with something less secure than you > intended. > > > > It sounds like I'm making feature requests for the FreeBSD installer. > > +1. > > Re the above: It would be nice if the installer could be told to pause between > creating the pools and creating the filesystem layout, and between creating the > filesystem layout and extracting the system. Make that two separate toggles to > maximize flexibility. That way we could switch to another vty and set the > zpool/zfs properties ourselves before proceeding. > I guess that's an approach. I'm still left wondering why you wouldn't just create the file /etc/installerconfig and set the ZFSBOOT_DATASETS variable. Setting this variable in /etc/installerconfig on the installation media will override the default value of: 116 ZFSBOOT_DATASETS=" 117 # DATASET OPTIONS (comma or space separated; or both) 118 119 # Boot Environment [BE] root and default boot dataset 120 /$ZFSBOOT_BEROOT_NAME mountpoint=none 121 /$ZFSBOOT_BEROOT_NAME/$ZFSBOOT_BOOTFS_NAME mountpoint=/ 122 123 # Compress /tmp, allow exec but not setuid 124 /tmp mountpoint=/tmp,compression=lz4,exec=on,setuid=off 125 126 # Don't mount /usr so that 'base' files go to the BEROOT 127 /usr mountpoint=/usr,canmount=off 128 129 # Home directories separated so they are common to all BEs 130 /usr/home # NB: /home is a symlink to /usr/home 131 132 # Ports tree 133 /usr/ports compression=lz4,setuid=off 134 135 # Source tree (compressed) 136 /usr/src compression=lz4,exec=off,setuid=off 137 138 # Create /var and friends 139 /var mountpoint=/var 140 /var/crash compression=lz4,exec=off,setuid=off 141 /var/log compression=lz4,exec=off,setuid=off 142 /var/mail compression=lz4,atime=on 143 /var/tmp compression=lz4,exec=on,setuid=off 144 " # END-QUOTE The variable is a multi-line string that describes the datasets and their properties. NOTE WELL: When overriding the variable with different contents, the variables ZFSBOOT_BEROOT_NAME and ZFSBOOT_BOOTFS_NAME have not yet been defined, so those should be translated to their literal string values, shown below... ZFSBOOT_BEROOT_NAME=ROOT ZFSBOOT_BOOTFS_NAME=default -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d7201cf3e06$0f3e49e0$2dbadda0$>
