Frosty555
asked on
ZFS corrupted data file
I have a FreeNAS server with a hard disk that has a corrupted file. Here's the result of a zpool status -v:
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?
pool: OTHER_BACKUPS
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
scan: scrub repaired 0 in 11h34m with 3 errors on Sun Jan 19 11:34:47 2014
config:
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:
/mnt/OTHER_BACKUPS/SOMEFOLDER/Somefolder/somefile.vmdk
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?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can leave it and use the file as is until you get a chance to copy it to new disk or somewhere else. You will just have error on your zpool status.
ASKER
I was unable to copy the file in this case