I have a FreeNAS server with a hard disk that has a corrupted file. Here's the result of a zpool status -v:
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.
scan: scrub repaired 0 in 11h34m with 3 errors on Sun Jan 19 11:34:47 2014
NAME STATE READ WRITE CKSUM
OTHER_BACKUPS ONLINE 0 0 2.08M
gptid/b8989373-xxxx-xxxx-xxxx-xxxxxxxxxxxx ONLINE 0 0 4.16M
errors: Permanent errors have been detected in the following files:
Now, the "somefile.vmdk" is a virtual hard disk for vmware. I'm sure that a few bytes of it are probably corrupted, but overall this won't really affect the integrity of the file for me. The worst case scenario is that a few small files on the NTFS file system inside that vmdk are corrupted.
I don't want to delete the whole file and I don't have a backup of it.
Is there any way to just tell zfs to flag the file as "good", and carry on?