Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2023 14:27:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271989] zfs root mount error 6 after upgrade from 11.1-release to 13.2-release
Message-ID:  <bug-271989-227-Si6qJjAvim@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271989-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271989-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271989

--- Comment #10 from Dan Langille <dvl@FreeBSD.org> ---
(In reply to Markus Wild from comment #9)
I wound up creating two temporary partitions on each of ada0 and ada1 - then
dd'd over them. It did not fix the boot issue.

Details at
https://gist.github.com/dlangille/af34e873727c62689ec937530b9ce398#file-gis=
tfile6-txt

I did not do the 'zdb -l' before rebooting, but here is is now.  I think I =
need
to do the same with ada2 and ada3.

[x8dtu dan ~] % zpool status zroot=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20
                               14:21:51
  pool: zroot
 state: ONLINE
  scan: scrub repaired 0B in 00:03:15 with 0 errors on Mon Jun 19 03:09:30 =
2023
config:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            ada1p3  ONLINE       0     0     0
            ada0p3  ONLINE       0     0     0

errors: No known data errors
[x8dtu dan ~] % sudo zdb -l /dev/ada0=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
                               14:21:57
failed to unpack label 0
failed to unpack label 1
------------------------------------
LABEL 2
------------------------------------
    version: 5000
    name: 'zroot'
    state: 0
    txg: 13322558
    pool_guid: 18320603570228782289
    errata: 0
    hostname: 'x8dtu.unixathome.org'
    top_guid: 9280302292269909223
    guid: 3142406804989521377
    vdev_children: 1
    vdev_tree:
        type: 'mirror'
        id: 0
        guid: 9280302292269909223
        metaslab_array: 68
        metaslab_shift: 31
        ashift: 12
        asize: 228578557952
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 18059354552686318005
            path: '/dev/ada1p3'
            phys_path:
'id1,enc@n3061686369656d30/type@0/slot@2/elmdesc@Slot_01/p3'
            whole_disk: 1
            DTL: 20272
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3142406804989521377
            path: '/dev/ada0p3'
            phys_path:
'id1,enc@n3061686369656d30/type@0/slot@1/elmdesc@Slot_00/p3'
            whole_disk: 1
            DTL: 20271
            create_txg: 4
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
    labels =3D 2 3=20
[x8dtu dan ~] % sudo zdb -l /dev/ada1=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
                               14:22:02
failed to unpack label 0
failed to unpack label 1
------------------------------------
LABEL 2
------------------------------------
    version: 5000
    name: 'zroot'
    state: 0
    txg: 13322558
    pool_guid: 18320603570228782289
    errata: 0
    hostname: 'x8dtu.unixathome.org'
    top_guid: 9280302292269909223
    guid: 18059354552686318005
    vdev_children: 1
    vdev_tree:
        type: 'mirror'
        id: 0
        guid: 9280302292269909223
        metaslab_array: 68
        metaslab_shift: 31
        ashift: 12
        asize: 228578557952
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 18059354552686318005
            path: '/dev/ada1p3'
            phys_path:
'id1,enc@n3061686369656d30/type@0/slot@2/elmdesc@Slot_01/p3'
            whole_disk: 1
            DTL: 20272
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 3142406804989521377
            path: '/dev/ada0p3'
            phys_path:
'id1,enc@n3061686369656d30/type@0/slot@1/elmdesc@Slot_00/p3'
            whole_disk: 1
            DTL: 20271
            create_txg: 4
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
    labels =3D 2 3

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271989-227-Si6qJjAvim>