Migrating Data From Failing Pool

I have an old, possibly failing, pool that is raidz1 3 x 8TB. I’d like to migrate all this data to a new raidz2 5 x 12TB pool. Is performing a ZFS send/recv the best option for moving my data? Does anyone have any recommendations for improving my chance of no data corruption?

I do have backups of most of the data. The backups are performed using ZFS send/recv. Can the backups be trusted if the data was sent from a failing pool?

The status of the old pool is:

  pool: media1
 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 in progress since Fri Nov  3 08:42:47 2023
        6.69T scanned at 894M/s, 2.10T issued at 281M/s, 17.4T total
        0B repaired, 12.10% done, 15:50:08 to go
config:

        NAME                                      STATE     READ WRITE CKSUM
        media1                                    ONLINE       0     0     0
          raidz1-0                                ONLINE       0     0     0
            ata-WDC_WD80EDAZ-11TA3A0_VDJRSHNK     ONLINE       0     0     9
            ata-WDC_WD80EMZZ-11B4FB0_WD-CA02ZU7G  ONLINE       0     0    11
            ata-WDC_WD80EDAZ-11TA3A0_VDJUYK7D     ONLINE       0     0     9

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

        <0x1b539>:<0x0>
        <snip>
        media1/staging:<0x2365>
        <snip>
        media1/staging:<0x21dd>
        <snip>
        <0x1b4ef>:<0x0>
1 Like