Re: ZFS not mount at boot

From: Yuri Pankov <yuripv_at_yuripv.dev>
Date: Mon, 5 Apr 2021 19:17:55 +0300
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.
Received on Mon Apr 05 2021 - 14:17:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC