Re: TRIM and changing mount options

2013-07-26 Thread aurfalien

On Jul 25, 2013, at 9:15 PM, Trond Endrestøl wrote:

 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=revisionrevision=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?

Hi Trond,

Mind you, this is a Live CD env.  I am doing zpool mirror on a system during 
install.

At any rate, in 9.2 beta 1 it shows;

NAME   PROPERTYVALUE   SOURCE
zroot  mountpoint  /mnt/zroot  default

On 9.1 it shows;

NAME   PROPERTYVALUE   SOURCE
zroot  mountpoint  /mnt  local

HTH and hope I am doing something wrong.

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-26 Thread aurfalien

On Jul 25, 2013, at 9:15 PM, Trond Endrestøl wrote:

 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=revisionrevision=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?

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=/ -o cachefile=/var/tmp/zpool.cache zroot mirror 
/dev/gpt/disk0 /dev/gpt/disk1

The change is colored in red.  It was /mnt.

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-25 Thread aurfalien

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=revisionrevision=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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-25 Thread Trond Endrestøl
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=revisionrevision=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.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: TRIM and changing mount options

2013-07-24 Thread Dan Nelson
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=revisionrevision=251419


-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-24 Thread aurfalien

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=revisionrevision=251419

Thanks for the link.

Is it something I can simply compile in to my 9.1?

If so, would you know how do I get the patches?

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-24 Thread aurfalien

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=revisionrevision=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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-24 Thread aurfalien

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=revisionrevision=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

Thanks for the money :)

I'll wait, spending too much time futzing with this versus learning FreeBSD.

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-24 Thread Alexandre Labarre
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=revisionrevision=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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: TRIM and changing mount options

2013-07-23 Thread Dan Nelson
In the last episode (Jul 23), aurfalien said:
 I've some what blindly followed a how to on installing FreeBSD 9.1 on a
 ZFS mirror.
 
 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;
 
 http://wp.strahlert.net/wordpress/zfs-2/installing-freebsd-9-1-using-root-on-zfs-and-gpt-disks/
 
 All is well, no issues with replacing disks, testing failures etc...
 
 But seeing that my system drives are SSDs, I thought to perhaps add
 noatime, etc...  to avoid slow downs common in excessive SSD usage.
 
 However my fstab is only mounting swap partitions and I have no idea how
 my file system is being mounted :)
 
 Also, I would like to use tunefs in finding if I have TRIM enabled as I
 did load it via boot.conf
 
 I kinda feel like I'm willy nilly adding load lines w/o seeing if I
 actually have the TRIM patch installed :)
 
 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

ZFS automatically opens pools that were previously imported ( this info is
stored in /boot/zfs/zpool.cache ), and automatically mounts any filesystems
that have a mountpoint specified, so fstab isn't needed.

Tunefs is a UFS-only command, so it won't help you here.  Most zfs
properties can be set on the fly with the zfs command.  You can disable
atime on your ZFS filesytem with zfs set atime=off zroot.  All the
filesystems created in zpool will inherit the value.

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.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-23 Thread aurfalien

On Jul 23, 2013, at 7:55 PM, Dan Nelson wrote:

 In the last episode (Jul 23), aurfalien said:
 I've some what blindly followed a how to on installing FreeBSD 9.1 on a
 ZFS mirror.
 
 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;
 
 http://wp.strahlert.net/wordpress/zfs-2/installing-freebsd-9-1-using-root-on-zfs-and-gpt-disks/
 
 All is well, no issues with replacing disks, testing failures etc...
 
 But seeing that my system drives are SSDs, I thought to perhaps add
 noatime, etc...  to avoid slow downs common in excessive SSD usage.
 
 However my fstab is only mounting swap partitions and I have no idea how
 my file system is being mounted :)
 
 Also, I would like to use tunefs in finding if I have TRIM enabled as I
 did load it via boot.conf
 
 I kinda feel like I'm willy nilly adding load lines w/o seeing if I
 actually have the TRIM patch installed :)
 
 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
 
 ZFS automatically opens pools that were previously imported ( this info is
 stored in /boot/zfs/zpool.cache ), and automatically mounts any filesystems
 that have a mountpoint specified, so fstab isn't needed.
 
 Tunefs is a UFS-only command,

Read the man page after sending, sorry for this.

I try not to post obvious stuff, meaning ones that you can 'man' :)

 so it won't help you here.  Most zfs
 properties can be set on the fly with the zfs command.  You can disable
 atime on your ZFS filesytem with zfs set atime=off zroot.  All the
 filesystems created in zpool will inherit the value.
 
 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.

So I got this;

http://blog.multiplay.co.uk/dropzone/freebsd/zfs-trim-patchset83.tbz

But I keep reading that I need PJDs zfs patch set in addition.

I've been reading this;

http://freebsd.1045724.n5.nabble.com/ZFS-TRIM-support-committed-to-HEAD-td5746045.html

Do you know how I can pull the source for this?

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.

- aurf
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: TRIM and changing mount options

2013-07-23 Thread aurfalien

On Jul 23, 2013, at 8:10 PM, kpn...@pobox.com wrote:

 On Tue, Jul 23, 2013 at 03:54:57PM -0700, aurfalien wrote:
 Hi,
 
 I've some what blindly followed a how to on installing FreeBSD 9.1 on a ZFS 
 mirror.
 
 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;
 
 http://wp.strahlert.net/wordpress/zfs-2/installing-freebsd-9-1-using-root-on-zfs-and-gpt-disks/
 
 All is well, no issues with replacing disks, testing failures etc...
 
 But seeing that my system drives are SSDs, I thought to perhaps add noatime, 
 etc... to avoid slow downs common in excessive SSD usage.
 
 However my fstab is only mounting swap partitions and I have no idea how my 
 file system is being mounted :)
 
 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:
 
 [kpn@gunsight1 ~]$ zfs get atime gs1p/usr
 NAME  PROPERTY  VALUE  SOURCE
 gs1p/usr  atime on default
 
 To see the atime setting for all datasets use 'zfs get atime'.
 
 To see all settings replace 'atime' with 'all'.
 
 To change the setting use 'zfs set'.
 
 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.
 
 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
 
 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org