From owner-freebsd-questions@FreeBSD.ORG Wed Jul 24 03:53:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 162A365C for ; Wed, 24 Jul 2013 03:53:25 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D829726DA for ; Wed, 24 Jul 2013 03:53:24 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id i4so12974997oah.24 for ; Tue, 23 Jul 2013 20:53:24 -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 :content-transfer-encoding:message-id:references:to:x-mailer; bh=842rodBb/pXY6TYAulx2XKVTcRkk6nBJt86wy8arHrc=; b=JTmAUn7VnGrc2JKugyvXjJ4WNtfZxpGRV5OKRiOCNXW9O0PA5CrLugYaHDEs4kbLt1 xSlXJcLJe3z9kCKNFqxXWT9ZsNB3GvNZ5ZFJmcRO6Uf/xVGz39fZTOaL42qb7ayAG2EU w5rapK46rxMetrZZTwbH/hDruxFZcwpXopW4YLynDBrHjG/sXkXcKOuJpfq8yTwDYu7C m7SqIx11VhPGPlquuvx20f93flt36+YMaZ+yL8BkZPnV85BfRlw8cbfDuYzbIUGJMadB DRwZP8C40AE6WHHCMYv4SsqwZA0xqh0YfSRXzylysNs28LW9XNBlHLCgmO6Krzr1kYPv Nh9w== X-Received: by 10.182.129.17 with SMTP id ns17mr28018535obb.13.1374638004204; Tue, 23 Jul 2013 20:53:24 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id q8sm13271744obl.11.2013.07.23.20.53.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Jul 2013 20:53:23 -0700 (PDT) Subject: Re: TRIM and changing mount options Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <20130724031000.GB23624@neutralgood.org> Date: Tue, 23 Jul 2013 20:53:19 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <0E36189C-4876-4FA1-9909-96CC02DD6429@gmail.com> References: <316706C7-F038-4110-BB36-8EDFF9DC6A6B@gmail.com> <20130724031000.GB23624@neutralgood.org> To: kpneal@pobox.com X-Mailer: Apple Mail (2.1085) 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 03:53:25 -0000 On Jul 23, 2013, at 8:10 PM, kpneal@pobox.com wrote: > On Tue, Jul 23, 2013 at 03:54:57PM -0700, aurfalien wrote: >> Hi, >>=20 >> I've some what blindly followed a how to on installing FreeBSD 9.1 on = a ZFS mirror. >>=20 >> My typing is horrid so I simply ssh'd to a live CD env and pasted = line by line as per the how to found here; >>=20 >> = http://wp.strahlert.net/wordpress/zfs-2/installing-freebsd-9-1-using-root-= on-zfs-and-gpt-disks/ >>=20 >> All is well, no issues with replacing disks, testing failures etc... >>=20 >> But seeing that my system drives are SSDs, I thought to perhaps add = noatime, etc... to avoid slow downs common in excessive SSD usage. >>=20 >> However my fstab is only mounting swap partitions and I have no idea = how my file system is being mounted :) >=20 > That's typical for ZFS. Usually ZFS handles mounting filesystems = ("datasets" > in ZFS parlance) itself. Thats actually really cool and powerful. > Use the zfs command to see all the settings for individual datasets. = For > example: >=20 > [kpn@gunsight1 ~]$ zfs get atime gs1p/usr > NAME PROPERTY VALUE SOURCE > gs1p/usr atime on default >=20 > To see the atime setting for all datasets use 'zfs get atime'. >=20 > To see all settings replace 'atime' with 'all'. >=20 > To change the setting use 'zfs set'. >=20 > Settings are inherited by datasets mounted inside a dataset. To = disable > atime for all datasets you can set it to 'off' at the top dataset. Or = you > can set it for just some of your datasets, like maybe the one mounted = at > "/usr". You'll probably need atime enabled if you read mail on this = machine. >=20 > Also see 'zfs inherit'. For sure, thanks for this. >> Also, I would like to use tunefs in finding if I have TRIM enabled as = I did load it via boot.conf >=20 > Sorry, I can't help with that. Somebody else can chime in. Wondering if I should query the dev list but don't wanna post rather = mundane questions for them. I can't seem to find the patch set to download. - aurf=