From owner-freebsd-fs@FreeBSD.ORG Thu Apr 4 23:02:34 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 9105D6B0 for ; Thu, 4 Apr 2013 23:02:34 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from yoshi.bluerosetech.com (yoshi.bluerosetech.com [IPv6:2607:f2f8:a450::66]) by mx1.freebsd.org (Postfix) with ESMTP id 7DDA321C for ; Thu, 4 Apr 2013 23:02:34 +0000 (UTC) Received: from chombo.houseloki.net (montesse-2-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:19b9::2]) by yoshi.bluerosetech.com (Postfix) with ESMTPSA id 3F596E629E; Thu, 4 Apr 2013 16:02:33 -0700 (PDT) Received: from [10.26.25.70] (c-50-137-47-22.hsd1.or.comcast.net [50.137.47.22]) by chombo.houseloki.net (Postfix) with ESMTPSA id 587AB829; Thu, 4 Apr 2013 16:02:32 -0700 (PDT) Message-ID: <515E0696.2020901@bluerosetech.com> Date: Thu, 04 Apr 2013 16:02:46 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Jay Borkenhagen Subject: Re: mounting failed with error 2 References: <20825.59038.104304.161698@oz.mt.att.com> <515DB070.1090803@bluerosetech.com> <20829.52349.314652.424391@oz.mt.att.com> In-Reply-To: <20829.52349.314652.424391@oz.mt.att.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 23:02:34 -0000 On 4/4/2013 11:54 AM, Jay Borkenhagen wrote: > 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 # > --------------- Sorry, wrong cachefile option, try: zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt zroot