From owner-freebsd-fs@FreeBSD.ORG Thu Apr 4 18:56:47 2013 Return-Path: Delivered-To: fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 220BFB92; Thu, 4 Apr 2013 18:56:47 +0000 (UTC) (envelope-from jayb@braeburn.org) Received: from nbfkord-smmo06.seg.att.com (nbfkord-smmo06.seg.att.com [209.65.160.94]) by mx1.freebsd.org (Postfix) with ESMTP id AD4E1831; Thu, 4 Apr 2013 18:56:46 +0000 (UTC) Received: from unknown [144.160.20.145] (EHLO mlpd192.enaf.sfdc.sbc.com) by nbfkord-smmo06.seg.att.com(mxl_mta-6.15.0-1) over TLS secured channel with ESMTP id 8eccd515.0.266831.00-221.746035.nbfkord-smmo06.seg.att.com (envelope-from ); Thu, 04 Apr 2013 18:56:46 +0000 (UTC) X-MXL-Hash: 515dccee00208ab1-f8ea9c7ddb82b0249fdc8d94503f300bf0414b21 Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id r34IuekU008851; Thu, 4 Apr 2013 14:56:40 -0400 Received: from alpi132.aldc.att.com (alpi132.aldc.att.com [130.8.217.2]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id r34IuT7R008736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Apr 2013 14:56:32 -0400 Received: from alpi153.aldc.att.com (alpi153.aldc.att.com [130.8.42.31]) by alpi132.aldc.att.com (RSA Interceptor); Thu, 4 Apr 2013 19:56:15 +0100 Received: from aldc.att.com (localhost [127.0.0.1]) by alpi153.aldc.att.com (8.14.5/8.14.5) with ESMTP id r34IuFXs007383; Thu, 4 Apr 2013 14:56:15 -0400 Received: from oz.mt.att.com (oz.mt.att.com [135.16.165.23]) by alpi153.aldc.att.com (8.14.5/8.14.5) with ESMTP id r34IuCJA007282; Thu, 4 Apr 2013 14:56:12 -0400 Received: by oz.mt.att.com (Postfix, from userid 1000) id 9D79268085A; Thu, 4 Apr 2013 14:56:11 -0400 (EDT) X-Mailer: emacs 23.3.1 (via feedmail 8 I); VM 8.2.0b under 23.3.1 (i686-pc-linux-gnu) Message-ID: <20829.52426.421138.520723@oz.mt.att.com> Date: Thu, 4 Apr 2013 14:56:10 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Jay Borkenhagen To: Andriy Gapon Subject: Re: mounting failed with error 2 In-Reply-To: <515DAE70.6090502@FreeBSD.org> References: <20825.59038.104304.161698@oz.mt.att.com> <5159F0C9.9000302@FreeBSD.org> <20825.62329.379765.344231@oz.mt.att.com> <515DA43D.7070805@FreeBSD.org> <20829.44475.910011.453770@oz.mt.att.com> <515DAE70.6090502@FreeBSD.org> X-GPG-Fingerprint: DDDB 542E D988 94D0 82D3 D198 7DED 6648 2308 D3C0 X-RSA-Inspected: yes X-RSA-Classifications: public Cc: fs@FreeBSD.org, Niclas Zeising X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jay Borkenhagen List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 18:56:47 -0000 Andriy Gapon writes: > > > Failing that, you can set vfs.zfs.debug=1 at loader prompt before > > > booting. That could shed some light on what is going wrong. The > > > most likely possibility is that /boot/zfs/zpool.cache in the > > > boot/root filesystem of the boot/root pool does not have an entry > > > for the root pool. > > > > I just tried 'set vfs.zfs.debug=1' then 'boot' at the loader prompt, > > and it seems I wound up at the exact same place with no further debug > > It's not further, it's before that. I could not see any difference in the output to the console by having done 'set vfs.zfs.debug=1' -- not before, not after. > > diagnostics. I believe the important part of that error output is > > this: > > > > =============== > > Trying to mount root from zfs:zroot/ROOT []... > > Mounting from zfs:zroot/ROOT failed with error 2. > > > > Loader variables: > > vfs.root.mountfrom=zfs:zroot/ROOT > > =============== > >