Permanent errors on replicated pool

Status
Not open for further replies.

alexg

Contributor
Joined
Nov 29, 2013
Messages
197
bk-tank is my replication pool and consists of a single disk. My primary pool is "tank" and raidz-2. I can always recreate bk-tank and I have another offline backup.
Is there a way to clear these errors from replication pool or do I need to start from scratch?


Code:
  pool: bk-tank
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: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 8K in 0h31m with 3 errors on Sat Feb 22 02:31:37 2014
config:
 
        NAME                                          STATE    READ WRITE CKSUM
        bk-tank                                      ONLINE      0    0    3
          gptid/670b5432-5e24-11e3-81e7-0019d181405c  ONLINE      0    0    54
 
errors: Permanent errors have been detected in the following files:
 
        bk-tank/shares@auto-20140217.1752-3w:/users/test/vmware/Office/Office.vmdk
        bk-tank/shares@auto-20140221.1752-3w:/Software/Corel PaintShop Pro X3/PSPP_X3_PF.exe
        bk-tank/shares@auto-20140221.1752-3w:/Software/Sony VMS/10.0/400_soundtracks.zip


Thank you
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
You can delete those offending files.

Keep in mind that these errors usually mean that your disk is failing. I'd consider destroying the pool and recreating it from your backup.

That is, assuming your backup doesn't have those files in their "now corrupted" state.
 

alexg

Contributor
Joined
Nov 29, 2013
Messages
197
Running long test now. My primary pool looks good.

Will replication detect that it needs to replicate these files?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
You mean if you are replicating from your primary pool to bk-tank? I don't think so. The whole expectation with ZFS is that you either:

1. Don't care about file consistency.
2. Use a pool with redundancy to ensure that any corruption can be repaired.

You've chosen #1 since you clearly didn't use a pool with redundancy.
 
Status
Not open for further replies.
Top