ZFS Trim

Steven Hartland killing at multiplay.co.uk
Fri Nov 29 12:40:50 UTC 2013


Thats an old sysctl so if your using a recent version you'll want
vfs.zfs.trim.enabled = 0

Unsupported means the device reported the "trim" request was rejected
by the underlying device, this will typically happen for HD's.

    Regard
    Steve

----- Original Message ----- 
From: "Beeblebrox" <zaphod at berentweb.com>
To: <freebsd-fs at freebsd.org>
Sent: Friday, November 29, 2013 11:06 AM
Subject: ZFS Trim


> Hello.
> I just recently enabled trim for my SSD + zpool:
> /boot/loader.conf => vfs.zfs.trim_disable=0
> The SSD hosts root zpool, plus ZIL of second pool hosted on spindle HDD.
> Previously I was using the configuration without trim code in loader.conf.
> 
> sysctl kstat.zfs.misc.zio_trim shows:
> kstat.zfs.misc.zio_trim.unsupported: 106
> kstat.zfs.misc.zio_trim.failed: 0
> 
> 2 questions:
> * What does the *trim.unsupported* mean for my setup
> * Do I need to run code to fix this (like zpool clean zil) in single-user
> mode?
> 
> Thank you.
> 
> 
> 
> -----
> FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-Trim-tp5864731.html
> Sent from the freebsd-fs mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-fs mailing list