From owner-freebsd-fs@FreeBSD.ORG Mon May 17 16:53:53 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BC1B1065677 for ; Mon, 17 May 2010 16:53:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 7287A8FC2F for ; Mon, 17 May 2010 16:53:52 +0000 (UTC) Received: from omta01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by qmta02.emeryville.ca.mail.comcast.net with comcast id JcAV1e0060EPchoA2gttS4; Mon, 17 May 2010 16:53:53 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta01.emeryville.ca.mail.comcast.net with comcast id Jgtt1e0043S48mS8MgttdT; Mon, 17 May 2010 16:53:53 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 2B0699B419; Mon, 17 May 2010 09:53:52 -0700 (PDT) Date: Mon, 17 May 2010 09:53:52 -0700 From: Jeremy Chadwick To: Pawel Tyll Message-ID: <20100517165352.GA12092@icarus.home.lan> References: <598841171.20100515193024@nitronet.pl> <4BF164DD.4060502@icyb.net.ua> <1554873904.20100517184702@nitronet.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554873904.20100517184702@nitronet.pl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-fs@freebsd.org, Andriy Gapon Subject: Re: Root mount from ZFS takes forever...literally. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 16:53:53 -0000 On Mon, May 17, 2010 at 06:47:02PM +0200, Pawel Tyll wrote: > >> Boot process "hangs" on Trying to mount root from zfs:tank/root - I > >> can import the pool from alternate boot source (PXE), and access files > >> fine, but I can't finish booting the system from ZFS. > > What messages do you have on screen when this happens? > > Can you upload a screenshot somewhere and post a link? > Just mounting root, and nothing happens. System is responsive, > attaching/detaching USB keyboard generates messages, and hitting > alt+ctrl+del correctly reboots the system. > > After messing around with fstab (added / entry, bit redundant with > loader.conf vfs.root.mountfrom entry) it started to working again, but > I can't repeat it now by removing this. Too bad I didn't take a > snapshot before fixing :( > > Strange. :) Are you *absolutely sure* the problem has to do with ZFS? I see you mention PXE booting...... This sounds much like an environment where serial console is set up incorrectly; kernel messages will be seen up to the final "Mounting root..." message, but everything past that goes to VGA console (or serial console, depends on the configuration mishap). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |