zpool error, cant migrate volume

AxelTwin

Well-Known Member
Oct 10, 2017
133
6
58
39
Hi everybody

I am having an error on one of my zfs volume since I replaced a disk.
I want to move the volume to another zpool but it fails because of that error.
zpool scrub and zpool cleart multiple times doesn't help
Any chance to fix that ?

Code:
root@hyperviser1:~# zpool status -v
  pool: rpool
 state: ONLINE
status: One or more devices has experienced an error resulting in data
        corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
        entire pool from backup.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
  scan: scrub repaired 0B in 05:08:29 with 1 errors on Sat Feb 24 14:41:54 2024
config:

        NAME                                                STATE     READ WRITE CKSUM
        rpool                                               ONLINE       0     0     0
          mirror-0                                          ONLINE       0     0     0
            ata-WDC_WD20EZRX-00D8PB0_WD-WCC4N2HF0181-part3  ONLINE       0     0     0
            ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0H9J9PX-part3  ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        rpool/data/subvol-176-disk-0:<0x0>

Code:
root@hyperviser1:~# zpool events -v
TIME                           CLASS
Feb 25 2024 11:27:45.925895016 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "(none)"
        history_internal_str = "pool version 5000; software version zfs-2.2.2-0-g494aaaed8; uts (none) 6.5.13-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-1 (2024-02-05T13:50Z) x86_64"
        history_internal_name = "open"
        history_txg = 0xb40a46
        history_time = 0x65db1621
        time = 0x65db1621 0x37300968
        eid = 0x1

Feb 25 2024 11:27:46.309895025 sysevent.fs.zfs.config_sync
        version = 0x0
        class = "sysevent.fs.zfs.config_sync"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1622 0x12789f71
        eid = 0x2

Feb 25 2024 11:27:46.309895025 sysevent.fs.zfs.pool_import
        version = 0x0
        class = "sysevent.fs.zfs.pool_import"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1622 0x12789f71
        eid = 0x3

Feb 25 2024 11:27:46.333895026 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "(none)"
        history_internal_str = "pool version 5000; software version zfs-2.2.2-0-g494aaaed8; uts (none) 6.5.13-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-1 (2024-02-05T13:50Z) x86_64"
        history_internal_name = "import"
        history_txg = 0xb40a48
        history_time = 0x65db1622
        time = 0x65db1622 0x13e6d572
        eid = 0x4

Feb 25 2024 11:27:46.781895037 sysevent.fs.zfs.config_sync
        version = 0x0
        class = "sysevent.fs.zfs.config_sync"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1622 0x2e9ac57d
        eid = 0x5

Feb 25 2024 11:28:00.773895390 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "ssd"
        pool_guid = 0x825f43131373121f
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "hyperviser1"
        history_internal_str = "pool version 5000; software version zfs-2.2.2-0-g494aaaed8; uts hyperviser1 6.5.13-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-1 (2024-02-05T13:50Z) x86_64"
        history_internal_name = "open"
        history_txg = 0x6af8
        history_time = 0x65db1630
        time = 0x65db1630 0x2e20b4de
        eid = 0x6

Feb 25 2024 11:28:00.813895391 sysevent.fs.zfs.config_sync
        version = 0x0
        class = "sysevent.fs.zfs.config_sync"
        pool = "ssd"
        pool_guid = 0x825f43131373121f
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1630 0x30830edf
        eid = 0x7

Feb 25 2024 11:28:00.813895391 sysevent.fs.zfs.pool_import
        version = 0x0
        class = "sysevent.fs.zfs.pool_import"
        pool = "ssd"
        pool_guid = 0x825f43131373121f
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1630 0x30830edf
        eid = 0x8

Feb 25 2024 11:28:00.813895391 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "ssd"
        pool_guid = 0x825f43131373121f
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "hyperviser1"
        history_internal_str = "pool version 5000; software version zfs-2.2.2-0-g494aaaed8; uts hyperviser1 6.5.13-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-1 (2024-02-05T13:50Z) x86_64"
        history_internal_name = "import"
        history_txg = 0x6afa
        history_time = 0x65db1630
        time = 0x65db1630 0x30830edf
        eid = 0x9

Feb 25 2024 11:28:00.825895391 sysevent.fs.zfs.config_sync
        version = 0x0
        class = "sysevent.fs.zfs.config_sync"
        pool = "ssd"
        pool_guid = 0x825f43131373121f
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1630 0x313a29df
        eid = 0xa

Feb 25 2024 11:28:29.336356268 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "ssd"
        pool_guid = 0x825f43131373121f
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "hyperviser1"
        history_dsname = "ssd/subvol-118-disk-0"
        history_internal_str = "acltype=1"
        history_internal_name = "set"
        history_dsid = 0x1ea
        history_txg = 0x6b02
        history_time = 0x65db164d
        time = 0x65db164d 0x140c63ac
        eid = 0xb

Feb 25 2024 11:51:40.852486915 sysevent.fs.zfs.scrub_start
        version = 0x0
        class = "sysevent.fs.zfs.scrub_start"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1bbc 0x32cfeb03
        eid = 0xc

Feb 25 2024 11:51:40.852486915 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "hyperviser1"
        history_internal_str = "func=1 mintxg=0 maxtxg=11799405"
        history_internal_name = "scan setup"
        history_txg = 0xb40b6d
        history_time = 0x65db1bbc
        time = 0x65db1bbc 0x32cfeb03
        eid = 0xd

Feb 25 2024 11:55:16.284880616 sysevent.fs.zfs.config_sync
        version = 0x0
        class = "sysevent.fs.zfs.config_sync"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        time = 0x65db1c94 0x10faeee8
        eid = 0xe

Feb 25 2024 11:55:37.056917159 sysevent.fs.zfs.history_event
        version = 0x0
        class = "sysevent.fs.zfs.history_event"
        pool = "rpool"
        pool_guid = 0xff51b6b5bd345635
        pool_state = 0x0
        pool_context = 0x0
        history_hostname = "hyperviser1"
        history_dsname = "rpool/data/subvol-176-disk-0@bef_upg"
        history_internal_str = " "
        history_internal_name = "destroy"
        history_dsid = 0x1190a
        history_txg = 0xb40b78
        history_time = 0x65db1ca9
        time = 0x65db1ca9 0x3647ca7
        eid = 0xf
 
Last edited: