From owner-freebsd-fs@FreeBSD.ORG Thu Apr 4 18:55:21 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 50660AAF; Thu, 4 Apr 2013 18:55:21 +0000 (UTC) (envelope-from jayb@braeburn.org) Received: from nbfkord-smmo05.seg.att.com (nbfkord-smmo05.seg.att.com [209.65.160.92]) by mx1.freebsd.org (Postfix) with ESMTP id EC09B816; Thu, 4 Apr 2013 18:55:20 +0000 (UTC) Received: from unknown [144.160.20.145] (EHLO nbfkord-smmo05.seg.att.com) by nbfkord-smmo05.seg.att.com(mxl_mta-6.15.0-1) with ESMTP id 99ccd515.2aaae8833940.273461.00-503.765225.nbfkord-smmo05.seg.att.com (envelope-from ); Thu, 04 Apr 2013 18:55:21 +0000 (UTC) X-MXL-Hash: 515dcc990299f1f0-dfa443e37e7671bbce752f03c2a32fd29d335913 Received: from unknown [144.160.20.145] (EHLO mlpd192.enaf.sfdc.sbc.com) by nbfkord-smmo05.seg.att.com(mxl_mta-6.15.0-1) over TLS secured channel with ESMTP id 79ccd515.0.273453.00-449.765169.nbfkord-smmo05.seg.att.com (envelope-from ); Thu, 04 Apr 2013 18:55:19 +0000 (UTC) X-MXL-Hash: 515dcc9774ea82ec-efa1d93722769ffbf134169af7f58aa9a00214c2 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 r34ItI3x007596; Thu, 4 Apr 2013 14:55:19 -0400 Received: from alpi131.aldc.att.com (alpi131.aldc.att.com [130.8.218.69]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id r34ItCs0007531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Apr 2013 14:55:16 -0400 Received: from alpi153.aldc.att.com (alpi153.aldc.att.com [130.8.42.31]) by alpi131.aldc.att.com (RSA Interceptor); Thu, 4 Apr 2013 19:54:59 +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 r34IsxUH004268; Thu, 4 Apr 2013 14:54:59 -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 r34IssQb004015; Thu, 4 Apr 2013 14:54:55 -0400 Received: by oz.mt.att.com (Postfix, from userid 1000) id EAE3468085A; Thu, 4 Apr 2013 14:54:53 -0400 (EDT) X-Mailer: emacs 23.3.1 (via feedmail 8 I); VM 8.2.0b under 23.3.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20829.52349.314652.424391@oz.mt.att.com> Date: Thu, 4 Apr 2013 14:54:53 -0400 From: Jay Borkenhagen To: Darren Pilgrim Subject: Re: mounting failed with error 2 In-Reply-To: <515DB070.1090803@bluerosetech.com> References: <20825.59038.104304.161698@oz.mt.att.com> <515DB070.1090803@bluerosetech.com> 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:55:21 -0000 Darren Pilgrim writes: > Reboot using the install disk, go to the Live CD. Import the pool using > an altroot and a cachefile: > > zpool import -c /tmp/zpool.cache -o altroot=/mnt zroot > > Copy /tmp/zpool.cache to /mnt/ROOT/boot/zfs/zpool.cache, then reboot > *without* exporting the pool. Thanks, Darren. However, when I try that I get this: --------------- root@:/root # zpool import -c /tmp/zpool.cache -o altroot=/mnt zroot failed to open cache file: No such file or directory cannot import 'zroot': no such pool available root@:/root # --------------- I used a Live CD boot again and tried this: --------------- root@:/root # zpool status ZFS filesystem version 5 ZFS storage pool version 28 no pools available root@:/root # --------------- Trying this a different way: Do you see something that Niclas's directions are missing? I.e rather than trying to patch a mis-installed system, what should be done differently to build a system that boots correctly the first time? Thanks for your help! Jay B.