Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2010 10:05:37 -0700
From:      James Armstrong <jamescarmstrong@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: Root mount from ZFS takes forever...literally.
Message-ID:  <AANLkTimULeDLYpRIXCOulKUeo4GsFU_tkcFTbXhUDXl5@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 17, 2010 at 09:53, Jeremy Chadwick <freebsd@jdc.parodius.com>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimULeDLYpRIXCOulKUeo4GsFU_tkcFTbXhUDXl5>