zpool errors
Adam
amvandemore at gmail.com
Wed Jul 10 20:10:22 UTC 2019
On Wed, Jul 10, 2019 at 9:50 AM Daniel Braniss <danny at cs.huji.ac.il> wrote:
> hi,
> i got a degraded pool, but can’t make sense of the file name:
>
> protonew-2# zpool status -vx
> pool: h
> 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 <
> http://illumos.org/msg/ZFS-8000-8A>
> scan: scrub repaired 6.50K in 17h30m with 0 errors on Wed Jul 10 12:06:14
> 2019
> config:
>
> NAME STATE READ WRITE CKSUM
> h ONLINE 0 0 14.4M
> gpt/r5/zfs ONLINE 0 0 57.5M
>
> errors: Permanent errors have been detected in the following files:
>
> <0x102>:<0x30723>
> <0x102>:<0x30726>
> <0x102>:<0x3062a>
> …
> <0x281>:<0x0>
> <0x6aa>:<0x305cd>
> <0xffffffffffffffff>:<0x305cd>
>
>
> any hints as how I can identify third files?
>
> thanks,
> danny
>
You can brute force it like this:
find /data -type file -exec sh -c 'dd if="$0" bs=1m status=progress
of=/dev/null' {} \;
to check each file for readability, but it's a hack that has diminishing
usefulness for larger file systems.
--
Adam
More information about the freebsd-hackers
mailing list