From owner-freebsd-questions@FreeBSD.ORG Mon Feb 25 14:13:40 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 97246E3C for ; Mon, 25 Feb 2013 14:13:40 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-qe0-f43.google.com (mail-qe0-f43.google.com [209.85.128.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2BECDED6 for ; Mon, 25 Feb 2013 14:13:39 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id s14so1557425qeb.16 for ; Mon, 25 Feb 2013 06:13:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=4BNBtOwK5u2r4KmO0tqGquDJVJwCxmAlG21KzhKisNA=; b=b2it/VvcyUWdGrq3ajkXz1S5fHcI0uhkZZKQJoD+nj2DSfERbOP66Yk/o3Rmie538t VH5RHfAoDEY1swq0SK9M6ksSDIrGsNpcWkysd3Vuyo9JyVX1Hol8xthob2FjqrVx1QNN 9BteJQuxp6wyhXfPzIpYrrFS9Ou/G3bZDe4gFEhuknKcalP/sD9tDax31VzDTt9FPJ8F kCZNZ4990yLt32LsBnwudnB6U0VQpEgaC/CAs9k4wg7kZF3yAjLnzhMAKqWBJIrvAmi0 aBuWsi2lj2sAUgzMTm0CZgYhmFRfKjC/VfNHBBRX5+Un/pjY10ZR/u/3jZZkIMAXPMkk P5aQ== X-Received: by 10.224.31.16 with SMTP id w16mr11094432qac.52.1361801619142; Mon, 25 Feb 2013 06:13:39 -0800 (PST) Received: from [192.168.2.99] ([96.236.21.119]) by mx.google.com with ESMTPS id o5sm16632837qao.12.2013.02.25.06.13.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Feb 2013 06:13:38 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: ZFS root, error 2 when mounting root From: Paul Kraus In-Reply-To: <5129E079.4040906@gmail.com> Date: Mon, 25 Feb 2013 09:13:39 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5129E079.4040906@gmail.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQmFPpKlxdNX6DEhZ4Nba5gt7wzcAP3H/u7UuiP036nEtYYF5MscNltsPxD3MC9X3y3zdcr8 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 14:13:40 -0000 On Feb 24, 2013, at 4:42 AM, bw.mail.lists = wrote: > Basically, I tried to follow = https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE, but ended up = with a system that didn't know how to mount /. >=20 > There are two scripts attached. I did not see any attachments. > The main difference I see between those two scripts is that one = doesn't use a cache file and the other one does, hence the name of the = scripts. But it should work without cachefile too, shouldn't it? The = other difference is how mountpoints are set, but I can't figure out what = could be wrong there. I am guessing without seeing the scripts, but I assume the cache = you refer to is the /boot/zfs/zpool.cahce file. This file instructs the = kernel which zpools to import at boot time. If this file is missing or = damaged the kernel cannot import any zpools. So you MUST have a valid = zpool.cache file in order to import the zpool containing the "/" zfs = dataset -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company