From owner-freebsd-questions@FreeBSD.ORG Mon Feb 25 16:01:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 399B5CB5 for ; Mon, 25 Feb 2013 16:01:02 +0000 (UTC) (envelope-from bw.mail.lists@gmail.com) Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by mx1.freebsd.org (Postfix) with ESMTP id BBF646C2 for ; Mon, 25 Feb 2013 16:01:01 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id j4so1382040bkw.31 for ; Mon, 25 Feb 2013 08:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7ywnLTygkjujVl5eKzfSehhcr7JJ1oqQGBh/vv5jPZg=; b=pUkq99fjEZnSIPEUoZdkDFlkDiuT6nct0p6CpYabSxmy3u+H1HdjaGnDltLSjWavYm Ap34rYpExfufHIzto1YikBXaBymvEch4ozFCmfPHtpTvPkfasO0ukPoamvlcjEHhAxFm IpQOvRIM+khJ1HVfoxmFVQG8LKMI6deco9CUnY9UgXjy3HeKkKK9O4m0Iyb/WY+357Ia mOjAMj8t6hr7Q4wLPUAOZNe9LWNBBihaTt4C3jguTiHgIC86hX9erZX/3UuLpcFodI5X XKAfP8V6L3Jp8zOvHeesL0XiNA5yFB653WBzX+FdIJXCpuQLFxN0wW7YhRXe76C9I/Ns HCyQ== X-Received: by 10.204.130.210 with SMTP id u18mr5277425bks.57.1361808055477; Mon, 25 Feb 2013 08:00:55 -0800 (PST) Received: from [172.28.21.100] ([87.213.55.2]) by mx.google.com with ESMTPS id x10sm3701290bkv.13.2013.02.25.08.00.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 08:00:54 -0800 (PST) Message-ID: <512B8AB5.4070504@gmail.com> Date: Mon, 25 Feb 2013 17:00:53 +0100 From: bw User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: ZFS root, error 2 when mounting root References: <5129E079.4040906@gmail.com> <512B7FD0.6040405@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2013 16:01:02 -0000 > >> That was my understanding, too, but the instructions on the wiki say there's no need to copy the cache file. In fact, there is no cache file to copy, since the pool is created with >> >> zpool create -o altroot=/mnt -O canmount=off zroot mirror /dev/gpt/g0zfs /dev/gpt/g1zfs >> >> No cache file. The wiki article was changed recently to eliminate that part, the message on the wiki is: "Fix so that the default instructions does not install data directly to the zroot pool. Simplify instructions regarding cache files, they are no longer needed. Fixes and cleanups." >> >> Either the instructions are wrong, or something in my script is. I assume it's my script. > > The instructions noted above are now INCORRECT for 9.0 (I have not tried this with 9.1 yet) as you MUST manually put the zpool.cache file in place for it to work correctly (I tried a couple different variations when I first setup my systems a few months ago and learned this the hard way :-) I have *lost* of experience with ZFS under Solaris 10 but am relatively new (about a year) to FreeBSD. I tried it on 9.1, failed to specify.