mountroot prompt with error2, when trying to boot from a single drive in a 2-way mirror
Yudi V
yudi.tux at gmail.com
Thu Apr 16 17:32:09 UTC 2015
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 at fabiankeil.de>
wrote:
> Yudi V <yudi.tux at 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
More information about the freebsd-questions
mailing list