constant zfs data corruption

Xin LI delphij at
Fri Oct 17 11:50:04 PDT 2008

Hash: SHA1

JoaoBR wrote:
> Hi 
> constantly I find data corruption on ZFS volums, ever from rrdtool, this 
> corrupt data happens on SATA disks, never seem on SCSI
> scrub is not able to repair, when comes to touch this files machines reboots, 
> deleting and restorin also is not possíble, seems I need to delete the files, 
> umount, scrub and mount again to clear it
> # zpool status -v os
>   pool: os
>  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:
>  scrub: none requested
> config:
>         NAME        STATE     READ WRITE CKSUM
>         os          ONLINE       0     0     0
>           ad4s1d    ONLINE       0     0     0
> errors: Permanent errors have been detected in the following files:
>         /usr/local/www/data-dist/monitor/wip_diskio.rrd
>         /usr/local/www/data-dist/monitor/
> some idea?

For ZFS:  I think you need to remove these file.  ZFS scrub does not
recover file if you don't have redundant, e.g. copies=2 or raid-z, etc.

For the data corruption itself:  I think this is highly critical issue
if you are sure that the hardware is good.  What controller and disk are
you using?

- --
Xin LI <delphij at>
FreeBSD - The Power to Serve!
Version: GnuPG v2.0.9 (FreeBSD)


More information about the freebsd-stable mailing list