Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2013 20:53:19 -0700
From:      aurfalien <aurfalien@gmail.com>
To:        kpneal@pobox.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: TRIM and changing mount options
Message-ID:  <0E36189C-4876-4FA1-9909-96CC02DD6429@gmail.com>
In-Reply-To: <20130724031000.GB23624@neutralgood.org>
References:  <316706C7-F038-4110-BB36-8EDFF9DC6A6B@gmail.com> <20130724031000.GB23624@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E36189C-4876-4FA1-9909-96CC02DD6429>