From owner-freebsd-questions@FreeBSD.ORG Fri Jul 26 04:15:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DC3A68BB for ; Fri, 26 Jul 2013 04:15:45 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6722297 for ; Fri, 26 Jul 2013 04:15:44 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r6Q4FYnO054149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Jul 2013 06:15:34 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r6Q4FYEV054146; Fri, 26 Jul 2013 06:15:34 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 26 Jul 2013 06:15:34 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: aurfalien Subject: Re: TRIM and changing mount options In-Reply-To: <03F003C0-3E95-4980-8042-3EF918B17C3D@gmail.com> Message-ID: References: <316706C7-F038-4110-BB36-8EDFF9DC6A6B@gmail.com> <20130724025547.GC82464@dan.emsphone.com> <437A347C-B4E8-4648-ABB4-F8378955F83F@gmail.com> <20130724160124.GD82464@dan.emsphone.com> <03F003C0-3E95-4980-8042-3EF918B17C3D@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-2109917132-1374812134=:35028" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: Alexandre Labarre , Dan Nelson , 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: Fri, 26 Jul 2013 04:15:45 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-2109917132-1374812134=:35028 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 25 Jul 2013 19:25-0700, aurfalien wrote: > > On Jul 24, 2013, at 12:51 PM, Alexandre Labarre wrote: > > > Le mercredi 24 juillet 2013, aurfalien a écrit : > > > > 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 > > > > > > I actually got the 9.2 src and found what i was looking for so many thanks. > > > > Gonna figure out what step are required to compile this in to my current 9.1 rel. > > > > Thanks again. > > > > - aurf > > Hi, > > Why you do not track 9/Stable or wait 9.2-Release? > > We are at the first Beta stage of 9.2. (9.2-Beta 1). You cannot use "freebsd-update" to upgrade your 9.1-Release to 9.2-Beta 1 because there was a problem, but this will be resolved for 9.2-Beta 2 in the next days or weeks. > > Just my .2 cents > > > > Kind regards, > > Alexandre > > Hi, > > Whats the best list to submit oddities regarding freeBSD 9.2 Beta 1? > > Specifically, this line in 9.1 creates and mounts the fs under /mnt; > > zpool create -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache zroot mirror /dev/gpt/disk0 /dev/gpt/disk1 > > But in 9.2 beta 1, its under /mnt/zroot. > > Just seems a bit odd is all. > > - aurf What does zfs get mountpoint zroot tell you in each case? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-2109917132-1374812134=:35028--