On Wed, Jan 23, 2013 at 09:11:23PM +0900, Alexander Nedotsukov wrote:
> And now both are failing, although zfs in a different way.

Yes, but now we are sure this is not ZFS issue. Sequential read simply
doesn't trigger the corruption, but ZFS access patterns do. The read
errors you are seeing are due to GELI returning EIO on integrity
verification error.

> # zpool status
>   pool: testpool
>  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 1M in 0h2m with 0 errors on Wed Jan 23 20:57:11 2013
> config:
> 
>       NAME          STATE     READ WRITE CKSUM
>       testpool      ONLINE       0     0     0
>         raidz1-0    ONLINE       0     0     0
>           da5.elid  ONLINE       0     0     0
>           da5.elie  ONLINE      21     0     0
>           da5.elif  ONLINE       0     0     0
> 
> # dmesg | tail -20
> GEOM_ELI: da1.eli: Failed to authenticate 131072 bytes of data at offset 
> 1010827264.
> ath0: bb hang detected (0x4), resetting
> GEOM_ELI: Device da5.eli created.
> GEOM_ELI: Encryption: AES-XTS 128
> GEOM_ELI:  Integrity: HMAC/SHA1
> GEOM_ELI:     Crypto: software
> GEOM_ELI: da5.eli: Failed to authenticate 4096 bytes of data at offset 4096.
> GEOM_ELI: da5.eli: Failed to authenticate 4096 bytes of data at offset 0.
> GEOM_ELI: da5.eli: Failed to authenticate 5792 bytes of data at offset 
> 229288288.
> GEOM_ELI: da5.eli: Failed to authenticate 65536 bytes of data at offset 
> 229429248.
> GEOM_ELI: da5.eli: Failed to authenticate 131072 bytes of data at offset 
> 229298176.
> GEOM_ELI: da5.eli: Failed to authenticate 26496 bytes of data at offset 
> 229494784.
> GEOM_ELI: da5.eli: Failed to authenticate 12288 bytes of data at offset 
> 270299136.
> GEOM_ELI: da5.eli: Failed to authenticate 65536 bytes of data at offset 
> 270319616.
> GEOM_ELI: da5.eli: Failed to authenticate 5792 bytes of data at offset 
> 273095488.
> GEOM_ELI: da5.eli: Failed to authenticate 56864 bytes of data at offset 
> 273105376.
> GEOM_ELI: da5.eli: Failed to authenticate 2400 bytes of data at offset 
> 273326080.
> GEOM_ELI: da5.eli: Failed to authenticate 65536 bytes of data at offset 
> 272560128.
> GEOM_ELI: da5.eli: Failed to authenticate 131072 bytes of data at offset 
> 272429056.
> GEOM_ELI: da5.eli: Failed to authenticate 32768 bytes of data at offset 
> 272396288.

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

Attachment: pgpN4AvBRoAtD.pgp
Description: PGP signature

Reply via email to