Hi, I have a backup ZFS disk that has experienced corruption. Not a huge deal, I still have another copy. How do I recover this?
I was reading about this here:
And I'm not sure what to do about the metadata things. I only use this disk to replicate snapshots to. Also the /mnt/FreeNAS-Backup is the mountpoint for the entire ZFS pool. to me that means the whole pool is corrupted or something, however I can still browse the files so I'm not really too sure in its meaning
Code:
@freenas ~]$ sudo zpool status -v Password: pool: FreeNAS-Backup 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://illumos.org/msg/ZFS-8000-8A scan: scrub repaired 0 in 0 days 19:19:35 with 0 errors on Mon Nov 25 16:08:53 2019 config: NAME STATE READ WRITE CKSUM FreeNAS-Backup ONLINE 0 0 0 da1p2 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: <metadata>:<0x0> <metadata>:<0x1b> /mnt/FreeNAS-Backup/
I was reading about this here:
Repairing Damaged Data - Oracle Solaris ZFS Administration Guide
This book is intended for anyone responsible for setting up and administering ZFS file systems. Topics are described for both SPARC and x86 based systems, where appropriate.
docs.oracle.com
And I'm not sure what to do about the metadata things. I only use this disk to replicate snapshots to. Also the /mnt/FreeNAS-Backup is the mountpoint for the entire ZFS pool. to me that means the whole pool is corrupted or something, however I can still browse the files so I'm not really too sure in its meaning