From owner-freebsd-fs@FreeBSD.ORG Tue Aug 12 16:33:20 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12B277EF for ; Tue, 12 Aug 2014 16:33:20 +0000 (UTC) Received: from rack.patpro.net (rack.patpro.net [193.30.227.216]) by mx1.freebsd.org (Postfix) with ESMTP id D053B2846 for ; Tue, 12 Aug 2014 16:33:19 +0000 (UTC) Received: from [192.168.0.2] (boleskine.patpro.net [82.230.142.222]) by rack.patpro.net (Postfix) with ESMTPSA id 6EE3C1903 for ; Tue, 12 Aug 2014 18:27:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=patpro.net; s=patpro; t=1407860826; bh=IusNrjxME2zT5/yzhIq+o/s0Oe77JNA+7HtiGM0Kdz4=; h=From:Subject:Date:To; b=KpczNTwixjymU9Sa2BGT7q8kKWSpldMMk1ZmKk6E/Ltnu79t96+tf4Jl1Au9n1BlP gZbD2JhHIdX096vBrC/UOyHBDMSNDKIz39DsCmtdkjDsx3yCakwsY3KJGjc/gurN/l motv4Zm0ycSMichgKXcu285Ll8eof/SerOoDLejY= From: Patrick Proniewski Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: zdb -R question Date: Tue, 12 Aug 2014 18:27:06 +0200 Message-Id: To: freebsd-fs@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 16:33:20 -0000 Hello, I've a hard drive with corrupt blocks. I would like to know if those = blocks belong to a real file. /var/log/message reads: smartd[1306]: Device: /dev/ada3, 3 Currently unreadable = (pending) sectors devices ada2 and ada3 are in ZRAID1 mirror.=20 zpool scrub won't show any error. smartctl full test find errors: SMART Self-test log structure revision number 1=20 Num Test_Description Status Remaining = LifeTime(hours) LBA_of_first_error=20 ../.. # 2 Extended offline Completed: read failure 80% = 33003 460087328 ../.. # 5 Extended offline Completed: read failure 90% = 32936 460087313 I've made some attempts with zdb -R to read faulted sectors, but I keep = receiving errors like these ones:=20 Invalid block specifier: gpt/ben: 460087328:512 - offset must = be a multiple of sector size Invalid block specifier: gpt/ben:409600000:512 - size must be a = multiple of sector size whatever offset and size I try (4096/512), I always receive one of these = errors... Any idea? thanks, Pat=