Re: ZFS + usb in trouble?

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Mon, 21 Jan 2013 21:58:52 +0100
On Sat, Jan 19, 2013 at 11:26:39PM +0900, Alexander Nedotsukov wrote:
> Let's use some space out of it.
> 
> #dd if=/dev/zero of=/tank/foo
> ^C250939+0 records in
> 250938+0 records out
> 128480256 bytes transferred in 30.402453 secs (4225983 bytes/sec)
> 
> Oops...
> 
> #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 errors
> 	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:
> 
> 	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

This seems like umass/usb issue (hps_at_ CCed). Can you also try GELI with
data integrity verification?


	# geli onetime -a hmac/sha1 -s 4096 /dev/da0

It will report some problems due to GEOM tasting, but ignore them and run:

	# dd if=/dev/random of=/dev/da0.eli bs=1m

Once that done try to read the data back and look at the logs to see if
any corruptions are reported.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

Received on Mon Jan 21 2013 - 19:58:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC