ZFS TRIM support committed to HEAD.
Bob Bishop
rb at gid.co.uk
Tue Sep 25 16:13:52 UTC 2012
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
More information about the freebsd-current
mailing list