Date: Wed, 10 Jul 2019 15:10:07 -0500 From: Adam <amvandemore@gmail.com> To: Daniel Braniss <danny@cs.huji.ac.il> Cc: hackers@freebsd.org Subject: Re: zpool errors Message-ID: <CA%2BtpaK1MaSFacEAXQ_XwS2C7g16zZdvssDhnxyv3gcbc89aUDA@mail.gmail.com> In-Reply-To: <52CE32B1-7E01-4C35-A2AB-84D3D5BD4E2F@cs.huji.ac.il> References: <52CE32B1-7E01-4C35-A2AB-84D3D5BD4E2F@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 10, 2019 at 9:50 AM Daniel Braniss <danny@cs.huji.ac.il> wrote: > hi, > i got a degraded pool, but can=E2=80=99t 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:1= 4 > 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> > =E2=80=A6 > <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=3D"$0" bs=3D1m status=3Dprogress of=3D/dev/null' {} \; to check each file for readability, but it's a hack that has diminishing usefulness for larger file systems. --=20 Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK1MaSFacEAXQ_XwS2C7g16zZdvssDhnxyv3gcbc89aUDA>