TRIM and changing mount options

aurfalien aurfalien at gmail.com
Wed Jul 24 17:30:38 UTC 2013


On Jul 24, 2013, at 9:01 AM, Dan Nelson wrote:

> 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:
> 
> http://svnweb.freebsd.org/base?view=revision&revision=251419

Thanks for the link.

Is it something I can simply compile in to my 9.1?

If so, would you know how do I get the patches?

- aurf


More information about the freebsd-questions mailing list