[zfs-discuss] Checksum error: which of my files have failed scrubbing?
ZFS has detected that my root filesystem has a small number of errors. Is there a way to tell which specific files have been corrupted? sbox:~$ zpool status -x pool: rpool 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://www.sun.com/msg/ZFS-8000-9P scrub: scrub completed after 0h10m with 2 errors on Sun Aug 3 00:16:33 2008 config: NAMESTATE READ WRITE CKSUM rpool ONLINE 0 0 4 c4t0d0s0 ONLINE 0 0 4 This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?
soren wrote: ZFS has detected that my root filesystem has a small number of errors. Is there a way to tell which specific files have been corrupted? After a scrub a zpool status -v should give you a list of files with unrecoverable errors. Hmm, I just tried that. Perhaps No known data errors means that my files are OK. In that case I wonder what the checksum failure was from. sbox:~$ zpool status -xv pool: rpool 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://www.sun.com/msg/ZFS-8000-9P scrub: scrub completed after 0h10m with 2 errors on Sun Aug 3 00:16:33 2008 config: NAMESTATE READ WRITE CKSUM rpool ONLINE 0 0 4 c4t0d0s0 ONLINE 0 0 4 errors: No known data errors This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Checksum error: which of my files have failed scrubbing?
Aha, that's the problem. I just upgraded to build 94, and I have alternate boot environments. === Hmm, I just tried that. Perhaps No known data errors means that my files are OK. In that case I wonder what the checksum failure was from. If this is build 94 and you have one or more unmounted filesystems, (such as alternate boot environments), these errors are false positives. There is no actual error; the scrubber misinterpreted the end of an intent log block chain as a checksum error. the bug id is: 6727872 zpool scrub: reports checksum errors for pool with zfs and unplayed ZIL This bug is fixed in build 95. One workaround is to mount the filesystems and then unmount them to apply the intent log changes. - Bill This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss