Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2021 19:17:55 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        "beepc.ch" <xpetrl@beepc.ch>, freebsd-current@freebsd.org
Subject:   Re: ZFS not mount at boot
Message-ID:  <10690ac2-2959-4344-7d38-d31a4132ad87@yuripv.dev>
In-Reply-To: <af6c4ba8-e743-b67f-aa26-f74a37de945a@beepc.ch>
References:  <af6c4ba8-e743-b67f-aa26-f74a37de945a@beepc.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
beepc.ch wrote:
> Dear list,
> 
> I've freshly installed FreeBSD 13-RC5 following this wiki for ZFS manual
> configuration:
> 
> https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot
> 
> After restart, the ZFS datasets aren't mount at boot:
> 
> # mount
> zroot/ROOT/default on / (zfs, local, nfsv4acls)
> devfs on /dev (devfs)
> 
> Doing a zfs mount -a, then everything is there:
> zroot/ROOT/default on / (zfs, local, nfsv4acls)
> devfs on /dev (devfs)
> zroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls)
> zroot on /zroot (zfs, local, nfsv4acls)
> zroot/var/log on /var/log (zfs, local, noexec, nosuid, nfsv4acls)
> zroot/usr/ports on /usr/ports (zfs, local, nosuid, nfsv4acls)
> zroot/usr/home on /usr/home (zfs, local, nfsv4acls)
> zroot/var/mail on /var/mail (zfs, local, noexec, nosuid, nfsv4acls)
> zroot/usr/src on /usr/src (zfs, local, noexec, nosuid, nfsv4acls)
> zroot/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls)
> zroot/usr/obj on /usr/obj (zfs, local, nfsv4acls)
> zroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls)
> zroot/var/audit on /var/audit (zfs, local, noexec, nosuid, nfsv4acls)
> zroot/usr/ports/distfiles on /usr/ports/distfiles (zfs, local, noexec,
> nosuid, nfsv4acls)
> zroot/usr/ports/packages on /usr/ports/packages (zfs, local, noexec,
> nosuid, nfsv4acls)
> 
> - in /boot/loader.conf
> zfs_load="YES"
> 
> - in /etc/rc.conf:
> zfs_enabled="YES"

If this is exactly what you have in rc.conf, then it's the problem -- it
should be "enable", not "enabled".

> I don't know what is missing.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10690ac2-2959-4344-7d38-d31a4132ad87>