Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2011 13:15:47 -0200
From:      Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
To:        APseudoUtopia <apseudoutopia@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS Filesystems wont auto-mount on boot
Message-ID:  <1322925347.76717.24.camel@z6000.lenzicasa>
In-Reply-To: <CAKOHg=O-immXozBytrqO-dFuKN-OT=O04zGz7m9JK3Rrcva=Ww@mail.gmail.com>
References:  <CAKOHg=O-immXozBytrqO-dFuKN-OT=O04zGz7m9JK3Rrcva=Ww@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Em Sáb, 2011-12-03 às 01:28 -0500, APseudoUtopia escreveu:

> Hello,
> 
> I followed a couple tutorials I found through google to setup RAID-Z1
> on root on FreeBSD 9.0-RC2. Everything works well, except it always
> drops me into a recovery shell on boot. I'm forced to run `zfs mount
> -a` to get all my data visible. Here's the boot log:
> 
> Trying to mount root from zfs:root []...
> Dec 3 01:23:07 init: login_getclass: unknown class `daemon`
> cannot open /etc/rc: No such file or directory
> Enter full pathname of shell or RETURN for /bin/sh:
> 
> I then hit return, then run `zfs mount -a` to mount all my zfs filesystems.
> 
> How can I have zfs automount these filesystems on boot so that the
> system can continue booting without being interrupted?
> 
> Thank you!

do you have: "zfs_enable=YES"  in /etc/rc.conf???

also after the system boots (either way...) 
see if zfs on root fs (/)  is to be mounted on /  "zfs set
mountpoint=/  ...."
or if in /boot/loader.conf there is a
vfs.root.mountfrom="zfs:zfstank/rootfs"  <=== example...

Just a thought....

[]
Sergio



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1322925347.76717.24.camel>