From owner-freebsd-questions@FreeBSD.ORG Fri Apr 17 02:51:13 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 308963C0 for ; Fri, 17 Apr 2015 02:51:13 +0000 (UTC) Received: from SNT004-OMC3S39.hotmail.com (snt004-omc3s39.hotmail.com [65.54.51.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2892E2B for ; Fri, 17 Apr 2015 02:51:12 +0000 (UTC) Received: from SNT146-W24 ([65.55.90.135]) by SNT004-OMC3S39.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 16 Apr 2015 19:51:06 -0700 X-TMN: [QTbitGLeJV8kwzIUdXnyUzS++yeE44gh] X-Originating-Email: [ricky1252@hotmail.com] Message-ID: From: "Ricky ." To: Yudi V CC: "freebsd-questions@freebsd.org" Subject: RE: mountroot prompt with error2, when trying to boot from a single drive in a 2-way mirror Date: Thu, 16 Apr 2015 22:51:06 -0400 Importance: Normal In-Reply-To: References: , <552D135F.9010907@FreeBSD.org>, , <05238e5a.6156fafe@fabiankeil.de>, , <52922ff3.7b8a6684@fabiankeil.de>, MIME-Version: 1.0 X-OriginalArrivalTime: 17 Apr 2015 02:51:06.0448 (UTC) FILETIME=[59CAA500:01D078B9] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: Fri, 17 Apr 2015 02:51:13 -0000 Is your pool using gptids for the devices? I tried tried to reproduce this = with 9.1-release and 10.1-release=2C however using gptids and never run int= o this problem. > Date: Fri=2C 17 Apr 2015 03:32:07 +1000 > Subject: Re: mountroot prompt with error2=2C when trying to boot from a s= ingle drive in a 2-way mirror > From: yudi.tux@gmail.com > To: freebsd-listen@fabiankeil.de > CC: freebsd-questions@freebsd.org >=20 > I checked some popular image hosting websites=2C 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 bu= g. >=20 > 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: >=20 >=20 > gpart show ada2 output: >=20 > =3D> 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) >=20 >=20 >=20 > On Thu=2C Apr 16=2C 2015 at 9:45 PM=2C Fabian Keil > wrote: >=20 > > Yudi V wrote: > > > > > First=2C 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=2C 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 > > >=20 >=20 >=20 > --=20 > Kind regards=2C > Yudi > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" =