I keep my important data on 2 drives that are mirrored (I think that is the correct terminology) in a machine running Ubuntu 12.04 LTS. Today, I was unable to access any of the data and 'sudo zpool status -x' returns:
pool: data 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://zfsonlinux.org/msg/ZFS-8000-8A scan: none requested config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 scsi-SATA_TOSHIBA_DT01ACA_Y3F4U6EGS ONLINE 0 0 0 scsi-SATA_TOSHIBA_DT01ACA_Y3FMSUNAS ONLINE 0 0 0 errors: 1 data errors, use '-v' for a list
When I run 'sudo zpool status -v' it shows which file is 'corrupted'. Fortunately, I do not care about this particular file, so I have no need to restore it. From this post:
it appears that I should run 'sudo zpool scrub', but I hesitate to do so since that particular post involved a zpool without redundancy. Will scrubbing the zpool bring the files back online, or will I mess up the whole thing?