From owner-freebsd-questions@FreeBSD.ORG Wed Jul 24 16:01:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AA0C51C0 for ; Wed, 24 Jul 2013 16:01:27 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 711DC2A65 for ; Wed, 24 Jul 2013 16:01:26 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id r6OG1O1e060148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Jul 2013 11:01:24 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.7/8.14.6) with ESMTP id r6OG1O63002280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Jul 2013 11:01:24 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.7/8.14.7/Submit) id r6OG1O9K002279; Wed, 24 Jul 2013 11:01:24 -0500 (CDT) (envelope-from dan) Date: Wed, 24 Jul 2013 11:01:24 -0500 From: Dan Nelson To: aurfalien Subject: Re: TRIM and changing mount options Message-ID: <20130724160124.GD82464@dan.emsphone.com> References: <316706C7-F038-4110-BB36-8EDFF9DC6A6B@gmail.com> <20130724025547.GC82464@dan.emsphone.com> <437A347C-B4E8-4648-ABB4-F8378955F83F@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437A347C-B4E8-4648-ABB4-F8378955F83F@gmail.com> X-OS: FreeBSD 9.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.8 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Wed, 24 Jul 2013 11:01:24 -0500 (CDT) X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2013 16:01:27 -0000 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 -- Dan Nelson dnelson@allantgroup.com