From owner-freebsd-questions@FreeBSD.ORG Fri Jul 26 22:14:51 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 9CE34BD6 for ; Fri, 26 Jul 2013 22:14:51 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E7062390 for ; Fri, 26 Jul 2013 22:14:51 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id md12so2494392pbc.30 for ; Fri, 26 Jul 2013 15:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=jZA4mwjTLn4TkqIIjsLera1seJCIdydAuyMksGYUm9A=; b=Cw8yUkkEWduPg5VuHBbjjFTO8ijkA2J8LSC7OE/tZV/V9kYhPfeIT5fpH0cKKO/NrC H1P06tNOa6eBiTpoWkQsqcf7an0dmWMu/Hvymc3N4yxOQlqMP4foUxO+fk/ZhM+8MItV NhHVSr8IHB/fRzs9r5R9gxWuaKNO9jKNoSEZrjkCH6BDwnYD0uPuaSId9AqcV4lOwbPM 9vDZdSsy2zw15FxULHpyt+ibxGzsEx05WURiULKjCr7y10xVAfnN97jCQWEwdW0Ayiz+ Z6f2p0KFSYXLlMc5zm1Um44sFpdqPDzv9GFIX3mw9skz8QT+LF6xa1uRL11mJqC/KE3F loyQ== X-Received: by 10.66.141.71 with SMTP id rm7mr57501350pab.90.1374876891137; Fri, 26 Jul 2013 15:14:51 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id dc5sm62122733pbc.37.2013.07.26.15.14.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 15:14:50 -0700 (PDT) Subject: Re: TRIM and changing mount options Mime-Version: 1.0 (Apple Message framework v1085) From: aurfalien In-Reply-To: Date: Fri, 26 Jul 2013 15:14:46 -0700 Message-Id: <51567DE2-AA4E-4436-BE1B-0AE1CBA9C596@gmail.com> 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> To: =?iso-8859-1?Q?Trond_Endrest=F8l?= X-Mailer: Apple Mail (2.1085) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 22:14:51 -0000 On Jul 25, 2013, at 9:15 PM, Trond Endrest=F8l wrote: > On Thu, 25 Jul 2013 19:25-0700, aurfalien wrote: >=20 >>=20 >> On Jul 24, 2013, at 12:51 PM, Alexandre Labarre wrote: >>=20 >>> Le mercredi 24 juillet 2013, aurfalien a =E9crit : >>>=20 >>> On Jul 24, 2013, at 9:01 AM, Dan Nelson wrote: >>>=20 >>>> 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; >>>>>>>=20 >>>>>>> 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 >>>>>=20 >>>>>> 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. >>>>>=20 >>>>> Looks like I don't have it. >>>>>=20 >>>>> I keep reading that I must download the patch and make it which is = not an >>>>> issue. >>>>>=20 >>>>> But I can't seem to find it. >>>>>=20 >>>>> I've dl'd the 9.2 beta in hopes to check its src and see if its = there. >>>>>=20 >>>>> Looks like all I really need is the current rel. >>>>=20 >>>> 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: >>>>=20 >>>> http://svnweb.freebsd.org/base?view=3Drevision&revision=3D251419 >>>=20 >>>=20 >>> I actually got the 9.2 src and found what i was looking for so many = thanks. >>>=20 >>> Gonna figure out what step are required to compile this in to my = current 9.1 rel. >>>=20 >>> Thanks again. >>>=20 >>> - 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 >>>=20 >>> Kind regards, >>> Alexandre >>=20 >> Hi, >>=20 >> Whats the best list to submit oddities regarding freeBSD 9.2 Beta 1? >>=20 >> Specifically, this line in 9.1 creates and mounts the fs under /mnt; >>=20 >> zpool create -o altroot=3D/mnt -o cachefile=3D/var/tmp/zpool.cache = zroot mirror /dev/gpt/disk0 /dev/gpt/disk1 >>=20 >> But in 9.2 beta 1, its under /mnt/zroot. >>=20 >> Just seems a bit odd is all. >>=20 >> - aurf >=20 > What does zfs get mountpoint zroot tell you in each case? Hi again, Specifying the command as follows forces same behavior as 9.1 so all is = well with a slight mod; zpool create -o altroot=3D/ -o cachefile=3D/var/tmp/zpool.cache zroot = mirror /dev/gpt/disk0 /dev/gpt/disk1 The change is colored in red. It was /mnt. - aurf=