Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2011 11:09:39 -0500
From:      APseudoUtopia <apseudoutopia@gmail.com>
To:        CyberLeo Kitsana <cyberleo@cyberleo.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ZFS Filesystems wont auto-mount on boot
Message-ID:  <CAKOHg=M2obXESUdnpynHsoDyPYbtRXZMzVVE7wZvV8GLNsL58w@mail.gmail.com>
In-Reply-To: <4EDA0E81.9050507@cyberleo.net>
References:  <CAKOHg=O-immXozBytrqO-dFuKN-OT=O04zGz7m9JK3Rrcva=Ww@mail.gmail.com> <4EDA0E81.9050507@cyberleo.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, Dec 3, 2011 at 6:56 AM, CyberLeo Kitsana <cyberleo@cyberleo.net> wrote:
> On 12/03/2011 12:28 AM, APseudoUtopia wrote:
>> 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
>
> You did not provide a list of your filesystems, so this is just a guess,
> but I'd say that, judging by this error, you have /etc on a separate
> filesystem.
>
> At least /bin, /sbin, /lib, /libexec, and /etc must be on your root
> filesystem for the boot process to function, since the system bootstrap
> (/etc/rc et alia) resides in /etc and uses components in the other
> listed directories; it is the system bootstrap which automounts your ZFS
> filesystems on boot (zfs_enable).
>

Ah! That was my problem. Thank you! I read every fine manual I could
find, but none of them said anything about those directories required
to be on the root filesystem. I appreciate the help!



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAKOHg=M2obXESUdnpynHsoDyPYbtRXZMzVVE7wZvV8GLNsL58w>