ZFS Checksum errors

rondzierwa at comcast.net rondzierwa at comcast.net
Wed Jun 20 17:20:29 UTC 2012


Greetings, 

I have a zfs filesystem on an 8.2-release amd64 system. hardware is amd phenom 964 with 8gb memory, 3ware 9650 controller with 8x seagate ST2000DL003 drives. the disks are configured in a raid-5, and present one device to the system. 

Early today I got some checksum and i/o errors on the console: 
Jun 20 07:33:43 phoenix root: ZFS: checksum mismatch, zpool=zfsPool path=/dev/da0 offset=7698387574272 size=9728 
Jun 20 07:33:43 phoenix root: ZFS: checksum mismatch, zpool=zfsPool path=/dev/da0 offset=7698387564544 size=9728 
Jun 20 07:33:43 phoenix root: ZFS: zpool I/O failure, zpool=zfsPool error=86 
Jun 20 07:33:43 phoenix root: ZFS: checksum mismatch, zpool=zfsPool path=/dev/da0 offset=7698387574272 size=9728 
Jun 20 07:33:43 phoenix root: ZFS: zpool I/O failure, zpool=zfsPool error=86 



So I ran a scrub, after a couple of hours i got a pile of checksum errors that looked rather similar: 

Jun 20 12:45:24 phoenix root: ZFS: checksum mismatch, zpool=zfsPool path=/dev/da0 offset=560450768384 size=4096 


zpool status indicates that a file has errors, but doesn't tell me its name: 

phoenix# zpool status -v zfsPool 
pool: zfsPool 
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://www.sun.com/msg/ZFS-8000-8A 
scrub: scrub in progress for 5h27m, 18.71% done, 23h42m to go 
config: 

NAME STATE READ WRITE CKSUM 
zfsPool ONLINE 0 0 38 
da0 ONLINE 0 0 434 1.06M repaired 

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

zfsPool/raid:<0x9e241> 
phoenix# 


How can I locate and get rid of the offending file? 

thanks, 
ron. 






More information about the freebsd-fs mailing list