From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 16:09:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C93861065670 for ; Sat, 3 Dec 2011 16:09:40 +0000 (UTC) (envelope-from apseudoutopia@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 582FF8FC13 for ; Sat, 3 Dec 2011 16:09:39 +0000 (UTC) Received: by bkat2 with SMTP id t2so5959969bka.13 for ; Sat, 03 Dec 2011 08:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TsP4FWM+v5TyIarQ3V26iiCY+FPlYwGV351qBxXF3+U=; b=Z3FowSVBaqBle2/V/9FiiS1E1ayvvx28KSihmv6s6VbJIbfVaMYjpnlaHv2budgaWi o2FQ/Fqms4Q4O6hWglaRIj8/00xHD1kkuPSuqPMQJbTaYHHIdMj9IBeIHLXOw+kI2PkP 5FwN5xttRvMe6irZ5NcwuTgGcfO7VGoOim//k= MIME-Version: 1.0 Received: by 10.204.154.137 with SMTP id o9mr1285556bkw.80.1322928579130; Sat, 03 Dec 2011 08:09:39 -0800 (PST) Received: by 10.204.114.81 with HTTP; Sat, 3 Dec 2011 08:09:39 -0800 (PST) In-Reply-To: <4EDA0E81.9050507@cyberleo.net> References: <4EDA0E81.9050507@cyberleo.net> Date: Sat, 3 Dec 2011 11:09:39 -0500 Message-ID: From: APseudoUtopia To: CyberLeo Kitsana Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS Filesystems wont auto-mount on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 16:09:40 -0000 On Sat, Dec 3, 2011 at 6:56 AM, CyberLeo Kitsana 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!