From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 8 10:47:57 2011 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A55106564A for ; Mon, 8 Aug 2011 10:47:57 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 734648FC12 for ; Mon, 8 Aug 2011 10:47:56 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA03618; Mon, 08 Aug 2011 13:34:06 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1QqN9p-000Ap8-Mb; Mon, 08 Aug 2011 13:34:05 +0300 Message-ID: <4E3FBB9A.5090305@FreeBSD.org> Date: Mon, 08 Aug 2011 13:34:02 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Daniel Braniss References: In-Reply-To: X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: hackers@FreeBSD.org Subject: Re: root on zfs almot working for me but ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2011 10:47:57 -0000 on 08/08/2011 09:56 Daniel Braniss said the following: > Hi, > I managed to get boot to load the kernel, but the kernel can't find > the root: > ... > Trying to mount root from zfs:z/root > ROOT MOUNT ERROR: > If you have invalid mount options, reboot, and first try the following from > the loader prompt: > > set vfs.root.mountfrom.options=rw > > and then remove invalid mount options from /etc/fstab. > > Loader variables: > vfs.root.mountfrom=zfs:z/root > vfs.root.mountfrom.options=rw > > and > mountroot> ? > > List of GEOM managed disk devices: > gptid/81e19453-94ff-11e0-afed-6cf049b01360 gpt/disk3 > gptid/81d516e2-94ff-11e0-afed-6cf049b01360 gpt/swap3 > gptid/81cbc503-94ff-11e0-afed-6cf049b01360 gptid/81b4a09a-94ff-11e0-afed-6cf049 > b01360 gpt/disk2 gptid/81a8c76e-94ff-11e0-afed-6cf049b01360 gpt/swap2 > gptid/81a13b80-94ff-11e0-afed-6cf049b01360 gptid/818c5da7-94ff-11e0-afed-6cf049 > b01360 gpt/disk1 gptid/818199a3-94ff-11e0-afed-6cf049b01360 gpt/swap1 > gptid/817a78d3-94ff-11e0-afed-6cf049b01360 ada3p3 ada3p2 ada3p1 ada2p3 ada2p2 > ada2p1 ada1p3 ada1p2 ada1p1 gptid/81652d6f-94ff-11e0-afed-6cf049b01360 > gpt/disk0 gptid/815afb70-94ff-11e0-afed-6cf049b01360 gpt/swap0 > gptid/81543d17-94ff-11e0-afed-6cf049b01360 ada3 ada2 ada1 ada0p3 ada0p2 ada0p1 > ada0 cd0 > > but I don't see any zfs, > > any help/ideas? Is /boot/zfs/zpool.cache present and up-to-date? -- Andriy Gapon