You are not logged in.

#1 2014-05-26 18:45:31

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

[SOLVED] zfs clear files with permanent errors

zfs status -v reports files with permanent errors. Although there was nothing wrong we these, I could open them and the contents look marvelous, I replaced them with copies from backup.

How do I clear these errors?

zpool clear zdata

didn't do it.

Last edited by theking2 (2014-05-27 18:19:38)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2014-05-26 21:33:20

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [SOLVED] zfs clear files with permanent errors

Have you scrubbed the pool since replacing the files?

Offline

#3 2014-05-27 18:14:40

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: [SOLVED] zfs clear files with permanent errors

it was in a scrubbing process (for about three days) and it now finished scrubbing. I had removed / updated the files that were marked as error but they were still there.
Scrubbing has completed and now the following appears:

# zpool status -v
  pool: zdata
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://zfsonlinux.org/msg/ZFS-8000-9P
  scan: scrub repaired 156M in 6h59m with 0 errors on Tue May 27 05:52:12 2014
config:

        NAME                                           STATE     READ WRITE CKSUM
        zdata                                          ONLINE       0     0     0
          raidz1-0                                     ONLINE       0     0     0
            ata-WDC_WD10EADS-00P8B0_WD-WMAVU0350318    ONLINE       0     0 1.13K
            ata-WDC_WD1003FBYX-01Y7B1_WD-WCAW36807048  ONLINE       0     0   929
            ata-WDC_WD10EADS-00P8B0_WD-WMAVU0606317    ONLINE       0     0 1.12K
            ata-WDC_WD10EADS-00P8B0_WD-WCAVU0381916    ONLINE       0     0   495

errors: No known data errors

opened a new thread for this

Last edited by theking2 (2014-05-27 18:19:19)


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

Board footer

Powered by FluxBB