From owner-freebsd-current@FreeBSD.ORG Mon Nov 19 13:00:38 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82F6E322; Mon, 19 Nov 2012 13:00:38 +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 813B58FC08; Mon, 19 Nov 2012 13:00:37 +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 PAA13645; Mon, 19 Nov 2012 15:00:16 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TaQxU-000CY9-3b; Mon, 19 Nov 2012 15:00:16 +0200 Message-ID: <50AA2D5D.7080105@FreeBSD.org> Date: Mon, 19 Nov 2012 15:00:13 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Bartosz Stec , Guido Falsi Subject: Re: problem booting to multi-vdev root pool References: <509D1DEC.6040505@FreeBSD.org> <50A27243.408@madpilot.net> <50A65F83.5000604@FreeBSD.org> <50A66701.701@madpilot.net> <50A82B3A.6020608@it4pro.pl> <50A8CB1C.9090907@FreeBSD.org> In-Reply-To: <50A8CB1C.9090907@FreeBSD.org> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 19 Nov 2012 13:00:38 -0000 on 18/11/2012 13:48 Andriy Gapon said the following: > on 18/11/2012 02:26 Bartosz Stec said the following: >> W dniu 2012-11-16 17:17, Guido Falsi pisze: >>> On 11/16/12 16:45, Andriy Gapon wrote: >>>> Guido, Bartosz, >>>> could you please test the patch? >>> >>> I have just compiler an r242910 kernel with this patch (and just this one) >>> applied. >>> >>> System booted so it seems to work fine! :) >> I've just compiled and installed fresh kernel with your patch, system booted >> without any problems, so apparently patch works as intended. > > Thank you both very much for testing! > Committed as r243213. > BTW, if you have some spare time and a desire to do some more testing, you can try the following patch: http://people.freebsd.org/~avg/zfs-spa-multi_vdev_root_support.diff It adds support for multi-vdev root pool probing in kernel. The best way to test is to remove zpool.cache before rebooting (but make sure to keep a copy somewhere and be able to recover). I'd use a boot environment (a root filesystem clone) for this. Thank you. -- Andriy Gapon