Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2015 03:32:07 +1000
From:      Yudi V <yudi.tux@gmail.com>
To:        Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        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:  <CACo--mtH8Ck1fekC_YutHLORgq5dxGtmKeX9uX1u0u8bWPSCjQ@mail.gmail.com>
In-Reply-To: <52922ff3.7b8a6684@fabiankeil.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd-listen@fabiankeil.de>
wrote:

> Yudi V <yudi.tux@gmail.com> 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



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