From owner-freebsd-questions@FreeBSD.ORG Thu Apr 16 17:32:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C02397C for ; Thu, 16 Apr 2015 17:32:09 +0000 (UTC) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7AE4D19 for ; Thu, 16 Apr 2015 17:32:08 +0000 (UTC) Received: by wgyo15 with SMTP id o15so88725939wgy.2 for ; Thu, 16 Apr 2015 10:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rKxOwmriuGH54zS/j+PxmlcfMPmM34gYgYpgd6H5OW8=; b=Cea2SIxvllj1lrV63J+FDJNG/5SUTgh9TeJqSel8cyiL9JOfoh8LF0+l++63p7p3CW YtplF2L3PUohAL881SQYDDi+Gh/Nqkn0kbfx0T3KL5m7oFjlfwQUbdpGWcl8BumaIxTo YN9t3EFmUHi+fLDr1E1F/qJO+H0R7j964M5X7aLLgf2WV1N5lWbQZtLuU5TuLzyAIZ+t C/WWkvn3sWpaUagPkfseyWNxxk1swFlKDFVIWdeiXmlRXUHrjFBZw0ClijCt/ey+SEL6 kal6Jw6tF018xOu//B3X0+JHWVCq8YYh7VSTgNKYvrNf/Cnpx8E6lVypgpp2ySrh89JC lRJA== MIME-Version: 1.0 X-Received: by 10.180.109.136 with SMTP id hs8mr9644311wib.73.1429205527332; Thu, 16 Apr 2015 10:32:07 -0700 (PDT) Received: by 10.28.21.82 with HTTP; Thu, 16 Apr 2015 10:32:07 -0700 (PDT) In-Reply-To: <52922ff3.7b8a6684@fabiankeil.de> References: <552D135F.9010907@FreeBSD.org> <05238e5a.6156fafe@fabiankeil.de> <52922ff3.7b8a6684@fabiankeil.de> Date: Fri, 17 Apr 2015 03:32:07 +1000 Message-ID: Subject: Re: mountroot prompt with error2, when trying to boot from a single drive in a 2-way mirror From: Yudi V To: Fabian Keil Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2015 17:32:09 -0000 I checked some popular image hosting websites, could not find any that did not use javascript. I can send you the images via email. This is reproducible on a clean install of 9.3 as well. I think it's a bug. Here's the output of zdb -l /dev/ada2p3 -------------------------------------------- LABEL 0 -------------------------------------------- version: 5000 name: 'osysPool' state: 0 txg: 35882 pool_guid: 3008044207603099329 hostid: 1990654128 hostname: 'test' top_guid: 16302517322241353808 guid: 2114803205502328891 vdev_children: 1 vdev_tree: type: 'mirror' id: 0 guid: 16302517322241353808 metaslab_array: 33 metaslab_shift: 29 ashift: 9 asize: 70355779584 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 2114803205502328891 path: '/dev/ada2p3' phys_path: '/dev/ada2p3' whole_disk: 1 DTL: 99 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 15791103587254396721 path: '/dev/ada3p3' phys_path: '/dev/ada3p3' whole_disk: 1 DTL: 98 create_txg: 4 features_for_read: -------------------------------------------- LABEL 1 -------------------------------------------- version: 5000 name: 'osysPool' state: 0 txg: 35882 pool_guid: 3008044207603099329 hostid: 1990654128 hostname: 'test' top_guid: 16302517322241353808 guid: 2114803205502328891 vdev_children: 1 vdev_tree: type: 'mirror' id: 0 guid: 16302517322241353808 metaslab_array: 33 metaslab_shift: 29 ashift: 9 asize: 70355779584 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 2114803205502328891 path: '/dev/ada2p3' phys_path: '/dev/ada2p3' whole_disk: 1 DTL: 99 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 15791103587254396721 path: '/dev/ada3p3' phys_path: '/dev/ada3p3' whole_disk: 1 DTL: 98 create_txg: 4 features_for_read: -------------------------------------------- LABEL 2 -------------------------------------------- version: 5000 name: 'osysPool' state: 0 txg: 35882 pool_guid: 3008044207603099329 hostid: 1990654128 hostname: 'test' top_guid: 16302517322241353808 guid: 2114803205502328891 vdev_children: 1 vdev_tree: type: 'mirror' id: 0 guid: 16302517322241353808 metaslab_array: 33 metaslab_shift: 29 ashift: 9 asize: 70355779584 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 2114803205502328891 path: '/dev/ada2p3' phys_path: '/dev/ada2p3' whole_disk: 1 DTL: 99 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 15791103587254396721 path: '/dev/ada3p3' phys_path: '/dev/ada3p3' whole_disk: 1 DTL: 98 create_txg: 4 features_for_read: -------------------------------------------- LABEL 3 -------------------------------------------- version: 5000 name: 'osysPool' state: 0 txg: 35882 pool_guid: 3008044207603099329 hostid: 1990654128 hostname: 'test' top_guid: 16302517322241353808 guid: 2114803205502328891 vdev_children: 1 vdev_tree: type: 'mirror' id: 0 guid: 16302517322241353808 metaslab_array: 33 metaslab_shift: 29 ashift: 9 asize: 70355779584 is_log: 0 create_txg: 4 children[0]: type: 'disk' id: 0 guid: 2114803205502328891 path: '/dev/ada2p3' phys_path: '/dev/ada2p3' whole_disk: 1 DTL: 99 create_txg: 4 children[1]: type: 'disk' id: 1 guid: 15791103587254396721 path: '/dev/ada3p3' phys_path: '/dev/ada3p3' whole_disk: 1 DTL: 98 create_txg: 4 features_for_read: gpart show ada2 output: => 34 156301421 ada2 GPT (74G) 34 2014 - free - (1M) 2048 512 1 freebsd-boot (256k) 2560 1536 - free - (768k) 4096 8388608 2 freebsd-swap (4.0G) 8392704 10485760 - free - (5.0G) 18878464 137422848 3 freebsd-zfs (65G) 156301312 143 - free - (71k) On Thu, Apr 16, 2015 at 9:45 PM, Fabian Keil wrote: > Yudi V wrote: > > > First, what is the recommended image hosting site. > > Any site that allows to download the image with fetch should be fine. > I use my own website so I unfortunately can't recommend any specific > image hosting site. > > > I don't think your conclusion is right. > > You're right, among other things I completely missed that you wrote > that the system tries to attach the whole disk instead of a partition. > > Could you additionally post the output of "zdb -l /dev/ada2p3" > and "gpart show ada2"? > > Fabian > -- Kind regards, Yudi