Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2015 22:51:06 -0400
From:      "Ricky ." <ricky1252@hotmail.com>
To:        Yudi V <yudi.tux@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: mountroot prompt with error2, when trying to boot from a single drive in a 2-way mirror
Message-ID:  <SNT146-W249941B5AA42DB8D27D0D5A1E30@phx.gbl>
In-Reply-To: <CACo--mtH8Ck1fekC_YutHLORgq5dxGtmKeX9uX1u0u8bWPSCjQ@mail.gmail.com>
References:  <CACo--mtMq=pLA-n5B2yPGftdUVa0aR6Pox5mRitMLguPXRto0g@mail.gmail.com>, <552D135F.9010907@FreeBSD.org>, <CACo--muDpFszfQZzGe7%2BvuBc1Y9QQ0u-fgoHCM1kOUny2u5yOg@mail.gmail.com>, <05238e5a.6156fafe@fabiankeil.de>, <CACo--mte5c8ER-V6hqcZmvsmU2gPtCwMgSsFH29HLrcrLG-yjg@mail.gmail.com>, <52922ff3.7b8a6684@fabiankeil.de>, <CACo--mtH8Ck1fekC_YutHLORgq5dxGtmKeX9uX1u0u8bWPSCjQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd-listen@fabian=
keil.de>
> wrote:
>=20
> > Yudi V <yudi.tux@gmail.com> 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"
 		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SNT146-W249941B5AA42DB8D27D0D5A1E30>