Date: Fri, 1 Mar 2013 12:12:03 +0000 From: Tom Evans <tevans.uk@googlemail.com> To: Peter Maloney <peter.maloney@brockmann-consult.de> Cc: freebsd-fs@freebsd.org Subject: Re: I am to silly to mount a zpool while boot Message-ID: <CAFHbX1L0ks0N9QxTH5Qr_7fUfA52i1AJ_BFQ2B8oK=risYFoAg@mail.gmail.com> In-Reply-To: <513098FF.8030806@brockmann-consult.de> References: <CAMCOOJvs_SS1n2r3jA28x4et%2BdSFv9YJ4BR0d9Padtmrj8E1Hw@mail.gmail.com> <513098FF.8030806@brockmann-consult.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 1, 2013 at 12:03 PM, Peter Maloney <peter.maloney@brockmann-consult.de> wrote: > For the mount, don't use fstab. use: > > zfs set mountpoint=/home poolname/path/to/dataset > > And for the import, add > > zfs_enable="YES" > > to rc.conf. > > > And I think that's it. (all my FreeBSD systems are pure zfs, so not sure > what troubles you would get if you had UFS on root) > I have UFS root, ZFS for /usr, /var etc, due to BIOS/loader issues when initially trying to get ZFS boot working on this box. This is the total contents of fstab: /dev/gpt/root / ufs rw 1 1 /dev/gpt/swap1 none swap sw 0 0 /dev/gpt/swap2 none swap sw 0 0 The ZFS fs is mounted by the mountpoint property: > $ zfs get mountpoint tank NAME PROPERTY VALUE SOURCE tank mountpoint /tank default ZFS is loaded as usual, by adding zfs_load="YES" to /boot/loader.conf and zfs_enable="YES" to /etc/rc.conf Hope that helps Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1L0ks0N9QxTH5Qr_7fUfA52i1AJ_BFQ2B8oK=risYFoAg>