From owner-freebsd-hackers@freebsd.org Wed Jul 10 20:10:22 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 928CA15E277B for ; Wed, 10 Jul 2019 20:10:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D0A0D6FE24 for ; Wed, 10 Jul 2019 20:10:21 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 87C9A15E277A; Wed, 10 Jul 2019 20:10:21 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A29E15E2779 for ; Wed, 10 Jul 2019 20:10:21 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB9F56FE1E for ; Wed, 10 Jul 2019 20:10:20 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id i10so7438613iol.13 for ; Wed, 10 Jul 2019 13:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=towxSUlZIQ1sM7CGkpnlxUYSnQSm78y7NqJWxrfO9RU=; b=LNkod40ILY7PxSlIQW5Yla+t4ZPO9fYnqd/RrPi5q9fAku52V0oZg+6EdD0YT7PMKG OO6qStLdKS9SPnmyhVezxZdsBviC9SL6ar6Ka4qCmIir/P6mSwuiRLT/XziEZex4v9Jx V0VDWvgMf7P4tspm//u69uLbwxEYxJRt1fqGJFRzbL28RwIqgOTaY4leBEgewfnl+TVX W07KLobd6uxX1i6hH5nuDb/Cdo14UoTIC84TI9M3xOuyymSJfFXdRZkU0jwkELGRlLkU kjzAPXCET8QUI7jwJ0F2TLGTbH2csxNh4qUdmhWzS11wa2/cihuxYwJ+W9zYzFSh6X2K xJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=towxSUlZIQ1sM7CGkpnlxUYSnQSm78y7NqJWxrfO9RU=; b=buS7M8ZosvKrDvQ6KFX3gV9u6UCJo6aheFEnCsgneZP7SnLw36nshQqIldApabcjfu q7mw2STJcm5D/lHRi4KbpSZNA8Z0YrudOyyt2Hl8aUZzqjZ5YKfaiIShv0U2nn64dw/F c3YNeFkT01djGwACc1DkkmuJpPSnjDhcGDsYEk+Mq1QDA7k3xSI6hmXh4PossktFwmS0 P2R2bKf95oW5GspO6vkyjzmaNpnFIK3U1pHh+qWdJkeVK4shu8wdc62c7h8ndjqNBjuh PFk4dwohpCJPbQXAt/thd8pHP24FikW4a4yQdZbA4kYnQS7T9mpPv1cOrZokOUcKIpvS JQCw== X-Gm-Message-State: APjAAAVt8/KgJd6xWgSqzQ8g5L1ZZucW0UoakfWtmlFsCHdHa/1kk1d5 hm5mmxyDng8q9ACa89DvJ8IN9E0PYBAn4r3kwOAldoK3BE0= X-Google-Smtp-Source: APXvYqyWJ8X6UUab0AQMotEbFDSyn1zllSMTqAPbF3QkDulHoKnP0tOS1VIa33Paq21bdWz0t3ggQ+8W6wlt96VoD1Y= X-Received: by 2002:a6b:bf01:: with SMTP id p1mr3481897iof.181.1562789419290; Wed, 10 Jul 2019 13:10:19 -0700 (PDT) MIME-Version: 1.0 References: <52CE32B1-7E01-4C35-A2AB-84D3D5BD4E2F@cs.huji.ac.il> In-Reply-To: <52CE32B1-7E01-4C35-A2AB-84D3D5BD4E2F@cs.huji.ac.il> From: Adam Date: Wed, 10 Jul 2019 15:10:07 -0500 Message-ID: Subject: Re: zpool errors To: Daniel Braniss Cc: hackers@freebsd.org X-Rspamd-Queue-Id: BB9F56FE1E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2019 20:10:22 -0000 On Wed, Jul 10, 2019 at 9:50 AM Daniel Braniss 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