Re: ZFS TRIM support committed to HEAD.

From: Bob Bishop <rb_at_gid.co.uk>
Date: Tue, 25 Sep 2012 17:13:43 +0100
On 25 Sep 2012, at 06:40, Pawel Jakub Dawidek wrote:

> On Tue, Sep 25, 2012 at 12:14:24AM +0100, Bob Bishop wrote:
>> Hi,
>> 
>> Still seems to be working OK, but:
>> 
>> seagoon# zpool status
>>  pool: m1
>> 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://www.sun.com/msg/ZFS-8000-9P
>>  scan: scrub repaired 0 in 0h2m with 0 errors on Mon Sep 24 23:52:08 2012
>> config:
>> 
>> 	NAME           STATE     READ WRITE CKSUM
>> 	m1             ONLINE       0     0     0
>> 	  mirror-0     ONLINE       0     0     0
>> 	    gpt/disk1  ONLINE    109M     0     0
>> 	    gpt/disk0  ONLINE    109M     0     0
>> 
>> errors: No known data errors
>> seagoon# sysctl -a |grep _trim
>> kstat.zfs.misc.zio_trim.zio_trim_bytes: 228731904
>> kstat.zfs.misc.zio_trim.zio_trim_success: 19406
>> kstat.zfs.misc.zio_trim.zio_trim_unsupported: 0
>> kstat.zfs.misc.zio_trim.zio_trim_failed: 0
>> seagoon# 
>> 
>> No device errors logged in messages, and scrub comes up clean as you can see. The read error count is increasing, but otherwise everything appears to work OK.
> 
> Are you sure your world and kernel are in sync? I remember seeing
> similar problem when my userland was updated.

Building world up to date fixes the problem. Good catch.

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

--
Bob Bishop
rb_at_gid.co.uk
Received on Tue Sep 25 2012 - 14:13:52 UTC

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