TRIM and changing mount options

Dan Nelson dnelson at
Wed Jul 24 16:01:27 UTC 2013

In the last episode (Jul 23), aurfalien said:
> On Jul 23, 2013, at 7:55 PM, Dan Nelson wrote:
> > In the last episode (Jul 23), aurfalien said:
> >> At any rate, could some one;
> >> 
> >> a) Explain how I am loading my file system as I'm used to fstab?
> >> b) How to run tunefs on my zroot
> >> c) How to determine if I actually have the needed TRIM support in my
> >> kernel
> > I'm not sure if there's a way to query TRIM status on arbitrary geom
> > providers, but you can see whether zfs successfully sent any TRIM
> > requests by watching the output of "sysctl kstat.zfs.misc.zio_trim".  If
> > .zio_trim.success increments and .unsupported (or .failed) doesn't, then
> > you know that it's working.
> Looks like I don't have it.
> I keep reading that I must download the patch and make it which is not an
> issue.
> But I can't seem to find it.
> I've dl'd the 9.2 beta in hopes to check its src and see if its there.
> Looks like all I really need is the current rel.

ZFS TRIM support was MFC'd into the 9 branch in June, so it wasn't in 9.1
but will be available in 9.2:

	Dan Nelson
	dnelson at

More information about the freebsd-questions mailing list