From owner-freebsd-fs@FreeBSD.ORG Mon May 17 17:35:52 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 96C841065675 for ; Mon, 17 May 2010 17:35:52 +0000 (UTC) (envelope-from jamescarmstrong@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 4ED438FC20 for ; Mon, 17 May 2010 17:35:52 +0000 (UTC) Received: by gyh20 with SMTP id 20so2767458gyh.13 for ; Mon, 17 May 2010 10:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=smzFwrKXqsO8Q/3LfiuZkc+IqUrsQPqHUJBCy6/mPck=; b=DB4ujH451SKaheqZVpUXk/oQ0vnBHKZlYojjcv25nFb+Qr8FbZU+BncqjQa9ufx5aF mO9lwvnAuGl+L3hN4EeMhmuKMnhfU+RhSo4o87ZoknsNsqeoW8Xm2SNNwK8tWHMd67XM aoglbcz/aO4P95AnZmxIJ240Ehnm1Og/CwR8A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jhjonXBcHbBgf3rpDzkncz4v53KAzYN8JsrzTnSKfYUjNS5wOcDpLOzirGJyZloAtj 9xjtFnSOfESoEOHyaOyDzm5IPbOTY2eeD9JO/vzl837uBv58rD3FaMVM8X9GSxJbmgkU eRj6eFkxVuEu0bDdHXWZyMUQFR6H+CeBQrTF8= MIME-Version: 1.0 Received: by 10.151.61.2 with SMTP id o2mr6530720ybk.378.1274115945396; Mon, 17 May 2010 10:05:45 -0700 (PDT) Received: by 10.150.51.16 with HTTP; Mon, 17 May 2010 10:05:37 -0700 (PDT) In-Reply-To: <20100517165352.GA12092@icarus.home.lan> References: <598841171.20100515193024@nitronet.pl> <4BF164DD.4060502@icyb.net.ua> <1554873904.20100517184702@nitronet.pl> <20100517165352.GA12092@icarus.home.lan> Date: Mon, 17 May 2010 10:05:37 -0700 Message-ID: From: James Armstrong To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 17:35:52 -0000 On Mon, May 17, 2010 at 09:53, Jeremy Chadwick wrote: > 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). > > We've seen a similar issue, Ctrl-T shows a zfs process running, and there is a lot of activity on some of the disks in our zfs array. James