Importing FAULTED Pool from damaged system

wildfireone

Cadet
Joined
Mar 7, 2020
Messages
1
Hello, I am not sure if this is going to be possible, but trying to import a pool from a damaged FreeNAS system, pool was set up as 2 mirrors, only 1 disk of each mirror still exists as the other 2 were damaged along with the server:

root@freenas[~]# zpool import pool: Data id: 9190334676765368379 state: FAULTED status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. The pool may be active on another system, but can be imported using the '-f' flag. see: http://illumos.org/msg/ZFS-8000-EY config: Data FAULTED corrupted data mirror-0 DEGRADED 10636062601564834261 UNAVAIL cannot open gptid/176b6309-7f0e-11e3-9ed7-000129d3f320 ONLINE mirror-2 DEGRADED gptid/536d3b64-b0ed-11e5-a452-00133b0c77b9 ONLINE 10692760728528007535 UNAVAIL cannot open

Getting this issue:

root@freenas[~]# zpool import -NfR /mnt -o readonly=on Data cannot import 'Data': I/O error Destroy and re-create the pool from a backup source.

zdb for both drives:

Code:
root@freenas[~]# zdb -l /dev/ada0p2
------------------------------------
LABEL 0
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 4537384
    pool_guid: 9190334676765368379
    hostid: 3459024729
    hostname: 'freenas2'
    top_guid: 16684744609519808295
    guid: 18208155675717517132
    vdev_children: 2
    vdev_tree:
        type: 'mirror'
        id: 0
        guid: 16684744609519808295
        metaslab_array: 34
        metaslab_shift: 33
        ashift: 12
        asize: 998052462592
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 10636062601564834261
            path: '/dev/gptid/b8dd6f6b-594b-11e4-a9d0-000129d3f320'
            whole_disk: 1
            DTL: 234
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 18208155675717517132
            path: '/dev/gptid/176b6309-7f0e-11e3-9ed7-000129d3f320'
            whole_disk: 1
            DTL: 201
            create_txg: 4
    features_for_read:
------------------------------------
LABEL 1
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 4537384
    pool_guid: 9190334676765368379
    hostid: 3459024729
    hostname: 'freenas2'
    top_guid: 16684744609519808295
    guid: 18208155675717517132
    vdev_children: 2
    vdev_tree:
        type: 'mirror'
        id: 0
        guid: 16684744609519808295
        metaslab_array: 34
        metaslab_shift: 33
        ashift: 12
        asize: 998052462592
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 10636062601564834261
            path: '/dev/gptid/b8dd6f6b-594b-11e4-a9d0-000129d3f320'
            whole_disk: 1
            DTL: 234
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 18208155675717517132
            path: '/dev/gptid/176b6309-7f0e-11e3-9ed7-000129d3f320'
            whole_disk: 1
            DTL: 201
            create_txg: 4
    features_for_read:
------------------------------------
LABEL 2
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 4537384
    pool_guid: 9190334676765368379
    hostid: 3459024729
    hostname: 'freenas2'
    top_guid: 16684744609519808295
    guid: 18208155675717517132
    vdev_children: 2
    vdev_tree:
        type: 'mirror'
        id: 0
        guid: 16684744609519808295
        metaslab_array: 34
        metaslab_shift: 33
        ashift: 12
        asize: 998052462592
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 10636062601564834261
            path: '/dev/gptid/b8dd6f6b-594b-11e4-a9d0-000129d3f320'
            whole_disk: 1
            DTL: 234
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 18208155675717517132
            path: '/dev/gptid/176b6309-7f0e-11e3-9ed7-000129d3f320'
            whole_disk: 1
            DTL: 201
            create_txg: 4
    features_for_read:
------------------------------------
LABEL 3
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 4537384
    pool_guid: 9190334676765368379
    hostid: 3459024729
    hostname: 'freenas2'
    top_guid: 16684744609519808295
    guid: 18208155675717517132
    vdev_children: 2
    vdev_tree:
        type: 'mirror'
        id: 0
        guid: 16684744609519808295
        metaslab_array: 34
        metaslab_shift: 33
        ashift: 12
        asize: 998052462592
        is_log: 0
        create_txg: 4
        children[0]:
            type: 'disk'
            id: 0
            guid: 10636062601564834261
            path: '/dev/gptid/b8dd6f6b-594b-11e4-a9d0-000129d3f320'
            whole_disk: 1
            DTL: 234
            create_txg: 4
        children[1]:
            type: 'disk'
            id: 1
            guid: 18208155675717517132
            path: '/dev/gptid/176b6309-7f0e-11e3-9ed7-000129d3f320'
            whole_disk: 1
            DTL: 201
            create_txg: 4
    features_for_read:


Code:
root@freenas[~]# zdb -l /dev/ada1p2
------------------------------------
LABEL 0
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 15388709
    pool_guid: 9190334676765368379
    hostid: 253260693
    hostname: 'freenas2'
    top_guid: 5198714049610786512
    guid: 10267578093018536752
    vdev_children: 3
    vdev_tree:
        type: 'mirror'
        id: 2
        guid: 5198714049610786512
        metaslab_array: 157
        metaslab_shift: 34
        ashift: 12
        asize: 1998246641664
        is_log: 0
        create_txg: 11999996
        children[0]:
            type: 'disk'
            id: 0
            guid: 10267578093018536752
            path: '/dev/gptid/536d3b64-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 579
            create_txg: 11999996
        children[1]:
            type: 'disk'
            id: 1
            guid: 10692760728528007535
            path: '/dev/gptid/5455e705-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 224
            create_txg: 11999996
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
------------------------------------
LABEL 1
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 15388709
    pool_guid: 9190334676765368379
    hostid: 253260693
    hostname: 'freenas2'
    top_guid: 5198714049610786512
    guid: 10267578093018536752
    vdev_children: 3
    vdev_tree:
        type: 'mirror'
        id: 2
        guid: 5198714049610786512
        metaslab_array: 157
        metaslab_shift: 34
        ashift: 12
        asize: 1998246641664
        is_log: 0
        create_txg: 11999996
        children[0]:
            type: 'disk'
            id: 0
            guid: 10267578093018536752
            path: '/dev/gptid/536d3b64-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 579
            create_txg: 11999996
        children[1]:
            type: 'disk'
            id: 1
            guid: 10692760728528007535
            path: '/dev/gptid/5455e705-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 224
            create_txg: 11999996
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
------------------------------------
LABEL 2
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 15388709
    pool_guid: 9190334676765368379
    hostid: 253260693
    hostname: 'freenas2'
    top_guid: 5198714049610786512
    guid: 10267578093018536752
    vdev_children: 3
    vdev_tree:
        type: 'mirror'
        id: 2
        guid: 5198714049610786512
        metaslab_array: 157
        metaslab_shift: 34
        ashift: 12
        asize: 1998246641664
        is_log: 0
        create_txg: 11999996
        children[0]:
            type: 'disk'
            id: 0
            guid: 10267578093018536752
            path: '/dev/gptid/536d3b64-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 579
            create_txg: 11999996
        children[1]:
            type: 'disk'
            id: 1
            guid: 10692760728528007535
            path: '/dev/gptid/5455e705-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 224
            create_txg: 11999996
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data
------------------------------------
LABEL 3
------------------------------------
    version: 5000
    name: 'Data'
    state: 0
    txg: 15388709
    pool_guid: 9190334676765368379
    hostid: 253260693
    hostname: 'freenas2'
    top_guid: 5198714049610786512
    guid: 10267578093018536752
    vdev_children: 3
    vdev_tree:
        type: 'mirror'
        id: 2
        guid: 5198714049610786512
        metaslab_array: 157
        metaslab_shift: 34
        ashift: 12
        asize: 1998246641664
        is_log: 0
        create_txg: 11999996
        children[0]:
            type: 'disk'
            id: 0
            guid: 10267578093018536752
            path: '/dev/gptid/536d3b64-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 579
            create_txg: 11999996
        children[1]:
            type: 'disk'
            id: 1
            guid: 10692760728528007535
            path: '/dev/gptid/5455e705-b0ed-11e5-a452-00133b0c77b9'
            whole_disk: 1
            DTL: 224
            create_txg: 11999996
    features_for_read:
        com.delphix:hole_birth
        com.delphix:embedded_data


Any hope of recovery?
 
Top