From owner-freebsd-questions@FreeBSD.ORG Thu Feb 27 14:07:48 2014 Return-Path: Delivered-To: freebsd-questions@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 221FFE81 for ; Thu, 27 Feb 2014 14:07:48 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5C091C3C for ; Thu, 27 Feb 2014 14:07:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-11-141.dynamic.qsc.de [92.195.11.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E2BA32777A; Thu, 27 Feb 2014 15:07:39 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s1RE7FVx001914; Thu, 27 Feb 2014 15:07:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 27 Feb 2014 15:07:15 +0100 From: Polytropon To: Matthias Apitz Subject: Re: errors from external USB disk Message-Id: <20140227150715.e6aa0594.freebsd@edvax.de> In-Reply-To: <20140227115934.GA2006@La-Habana> References: <20140226121714.GA1532@tiny-r255948> <20140226145527.3cd8eb4b.freebsd@edvax.de> <20140227115934.GA2006@La-Habana> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 14:07:48 -0000 On Thu, 27 Feb 2014 12:59:34 +0100, Matthias Apitz wrote: > El d=EDa Wednesday, February 26, 2014 a las 02:55:27PM +0100, Polytropon = escribi=F3: >=20 > > On Wed, 26 Feb 2014 13:17:14 +0100, Matthias Apitz wrote: > > > Sometimes, after the dump finished, a re-read of the file to get the = MD5 > > > checksum results in errors and I was highly concerned about the integ= rity > > > of my dumps on this device. > >=20 > > What error? Can you post the error message and the command > > which caused it? >=20 > While copying big files from the failing disk to another with 'cp -Rp' > I saw: >=20 > Feb 23 18:48:07 La-Habana kernel: (da0:umass-sim0:0:0:0): READ(10). CDB: > 28 00 01 cf d9 cf 00 00 0e 00=20 > Feb 23 18:48:07 La-Habana kernel: (da0:umass-sim0:0:0:0): CAM status: > CCB request completed with an error > Feb 23 18:48:07 La-Habana kernel: (da0:umass-sim0:0:0:0): Retrying command So it's definitely a reading error here. > > > I bought another 2.5 TB disk and was able to copy all the files (arou= nd > > > 1TB) over, i.e. the device could now be owerwritte while testing. > > >=20 > > > What is the best way to run a test on the disk? I'm thinking in > > > something like reading/writing the block in place for many days > > > (it's around 1.5 TB). Any ideas? > >=20 > > You can start by looking at the S.M.A.R.T. data (sysutils/smartmontools > > and sysutils/smartcontrol), see "man smartctl" for "smartctl -a". > > This should help you to identify possible hardware errors. >=20 > I dis this already, but it does not show much: > [...]=20 > Error Counter logging not supported >=20 > Device does not support Self Test logging Sorry, I forgot to mention: SMART usually does not work over USB. Do you have the chance to attach the disk, probably a SATA drive, to a "native" SATA port and try again? --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...