From owner-freebsd-current@FreeBSD.ORG Mon Jan 21 21:16:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B25D23EC; Mon, 21 Jan 2013 21:16:44 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 7D0DEDF8; Mon, 21 Jan 2013 21:16:44 +0000 (UTC) Received: from localhost (unknown [86.188.145.194]) by mail.dawidek.net (Postfix) with ESMTPSA id A9997763; Mon, 21 Jan 2013 22:14:10 +0100 (CET) Date: Mon, 21 Jan 2013 22:17:19 +0100 From: Pawel Jakub Dawidek To: Alexander Nedotsukov Subject: Re: ZFS + usb in trouble? Message-ID: <20130121211718.GD1341@garage.freebsd.pl> References: <20130121205851.GB1341@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hoZxPH4CaxYzWscb" Content-Disposition: inline In-Reply-To: <20130121205851.GB1341@garage.freebsd.pl> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Current , hselasky@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 21:16:44 -0000 --hoZxPH4CaxYzWscb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I used wrong Hans' login, resending with the proper e-mail. On Mon, Jan 21, 2013 at 09:58:52PM +0100, Pawel Jakub Dawidek wrote: > On Sat, Jan 19, 2013 at 11:26:39PM +0900, Alexander Nedotsukov wrote: > > Let's use some space out of it. > >=20 > > #dd if=3D/dev/zero of=3D/tank/foo > > ^C250939+0 records in > > 250938+0 records out > > 128480256 bytes transferred in 30.402453 secs (4225983 bytes/sec) > >=20 > > Oops... > >=20 > > #zpool status > > pool: tank > > state: ONLINE > > status: One or more devices has experienced an unrecoverable error. An > > attempt was made to correct the error. Applications are unaffected. > > action: Determine if the device needs to be replaced, and clear the err= ors > > using 'zpool clear' or replace the device with 'zpool replace'. > > see: http://illumos.org/msg/ZFS-8000-9P > > scan: scrub repaired 5K in 0h0m with 0 errors on Sat Jan 19 23:11:20 = 2013 > > config: > >=20 > > NAME STATE READ WRITE CKSUM > > tank ONLINE 0 0 0 > > raidz1-0 ONLINE 0 0 0 > > da1 ONLINE 0 0 1 > > da2 ONLINE 0 0 0 > > da3 ONLINE 0 0 1 >=20 > This seems like umass/usb issue (hps@ CCed). Can you also try GELI with > data integrity verification? >=20 >=20 > # geli onetime -a hmac/sha1 -s 4096 /dev/da0 >=20 > It will report some problems due to GEOM tasting, but ignore them and run: >=20 > # dd if=3D/dev/random of=3D/dev/da0.eli bs=3D1m >=20 > Once that done try to read the data back and look at the logs to see if > any corruptions are reported. >=20 > --=20 > Pawel Jakub Dawidek http://www.wheelsystems.com > FreeBSD committer http://www.FreeBSD.org > Am I Evil? Yes, I Am! http://tupytaj.pl --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --hoZxPH4CaxYzWscb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlD9sF4ACgkQForvXbEpPzTskwCgkiW9bFakIrBS7IDNVvjpTy1D 8AMAnRUQd29njTB83MTJdH7aXripsQ4I =5PBk -----END PGP SIGNATURE----- --hoZxPH4CaxYzWscb--