Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 18:27:06 +0200
From:      Patrick Proniewski <patpro@patpro.net>
To:        freebsd-fs@freebsd.org
Subject:   zdb -R question
Message-ID:  <BEC665FB-4F91-400D-BAA2-67D978C7AC66@patpro.net>

next in thread | raw e-mail | index | archive | help
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BEC665FB-4F91-400D-BAA2-67D978C7AC66>