From owner-freebsd-current@FreeBSD.ORG Tue May 31 19:29:03 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 859841065672; Tue, 31 May 2011 19:29:03 +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 9F4738FC15; Tue, 31 May 2011 19:29:02 +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 WAA17354; Tue, 31 May 2011 22:28:55 +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 1QRUcY-000HVk-Sg; Tue, 31 May 2011 22:28:54 +0300 Message-ID: <4DE54176.3080702@FreeBSD.org> Date: Tue, 31 May 2011 22:28:54 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110503 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Michael Reifenberger References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Garrett Cooper , pjd@FreeBSD.org, FreeBSD-Current Subject: Re: mount root from zfs fails under current with "error 6" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 19:29:03 -0000 on 31/05/2011 20:38 Michael Reifenberger said the following: > Hi, > > On Tue, 31 May 2011, Michael Reifenberger wrote: > ... >> (fs)(root) gpart show ada0 >> => 34 5860533101 ada0 GPT (2.7T) >> 34 990 1 freebsd-boot (495k) >> 1024 2098176 2 freebsd-swap (1.0G) >> 2099200 5858433928 3 freebsd-zfs (2.7T) >> 5860533128 7 - free - (3.5k) >> > ... > > maybe I found something: > After setting vfs.zfs.debug=1 I got two new verbose bootlogs: > http://people.freebsd.org/~mr/boot_fail2.txt > http://people.freebsd.org/~mr/boot_success2.txt > > As you can see, in the failing case ZFS tries to attach to ada[0123] > whereas in the succeeding case ZFS attaches to ada[0123]p3 (which are the > correct devices) Maybe try to enable GEOM debug to see if/when tasting of the GPT partitions occurs. -- Andriy Gapon