Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 17:20:23 +0000 (UTC)
From:      rondzierwa@comcast.net
To:        freebsd-fs@freebsd.org
Subject:   ZFS Checksum errors
Message-ID:  <1610905794.19241.1340212823047.JavaMail.root@sz0192a.westchester.pa.mail.comcast.net>
In-Reply-To: <20120618120031.84A4D1065749@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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. 







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1610905794.19241.1340212823047.JavaMail.root>