From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 15:15:53 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 8BE60106566B for ; Sat, 3 Dec 2011 15:15:53 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 46A8C8FC13 for ; Sat, 3 Dec 2011 15:15:53 +0000 (UTC) Received: by ghbg20 with SMTP id g20so5375860ghb.13 for ; Sat, 03 Dec 2011 07:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references :disposition-notification-to:content-type:date:message-id :mime-version:x-mailer; bh=hmPdPqNkd7hMBG0x7h5qvhpYq4yZ2Y8Zlf75nZzRI2k=; b=T8kjATVjlyVot9lEa4jmblshsawrOt2EjyG8Uyo/Rb2JDQMqyqdVdLe8U2sfgWzADM 0eP0LelNvvUz/qOFyLEm9+4Etsehr/TTsTMl56gJCz/m7QXwTya1zUU2v9cJ0/J6vuqX /vVDS1zBWp8mtIuCrNs2zwwkDufADpSfyWptE= Received: by 10.236.192.233 with SMTP id i69mr3222431yhn.60.1322925352689; Sat, 03 Dec 2011 07:15:52 -0800 (PST) Received: from [192.168.6.230] ([201.21.151.230]) by mx.google.com with ESMTPS id i4sm21351510yhk.21.2011.12.03.07.15.49 (version=SSLv3 cipher=OTHER); Sat, 03 Dec 2011 07:15:50 -0800 (PST) From: Sergio de Almeida Lenzi To: APseudoUtopia In-Reply-To: References: Date: Sat, 03 Dec 2011 13:15:47 -0200 Message-ID: <1322925347.76717.24.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:15:53 -0000 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