Comments on: ZFS Administration, Part VII- Zpool Properties https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/ Linux. GNU. Freedom. Mon, 09 Oct 2017 10:42:05 +0000 hourly 1 https://wordpress.org/?v=4.9-alpha-41547 By: MarkT https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-266108 Tue, 02 Aug 2016 18:10:47 +0000 http://pthree.org/?p=2632#comment-266108 A minor typo:
"bootfs: Read-only..."

man zpool:
bootfs=pool/dataset
listed under section describing:
"... can be set at creation time and import time, and later changed with the zpool set command"

Just though you would want to know.

]]>
By: Darael https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-231590 Fri, 17 Apr 2015 21:47:37 +0000 http://pthree.org/?p=2632#comment-231590 m.ardito - 0 is the default value, but what 0 means is "use the size the disk reports", and since a lot of AF disks report 512b sectors for compatibility with old OSes, 0 functionally means 9, even though this is suboptimal. To say the default is 9 is a simplification, but close enough.

]]>
By: m.ardito https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-231135 Fri, 10 Apr 2015 13:48:11 +0000 http://pthree.org/?p=2632#comment-231135 Hi, I'm learning zfs through your wonderful pages, thanks for sharing this!
I have a doubt:

about ashift, you wrote "Default value is "9", as 2^9 = 512,"

but then when you use "#zpool get all tank" you get, amongst other settings,
"tank ashift 0 default"

and this is apparently in contrast to "However, you can look at the 'SOURCE' column. If the value in that column is "default", then it's default. If it's "local", then it was user-defined."

am I missing something?

]]>
By: Derek Scherger https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-132126 Sun, 13 Apr 2014 23:48:28 +0000 http://pthree.org/?p=2632#comment-132126 I think you can set a string property back to its default with something like this:

zpool set bootfs= rpool

This worked for me at least.

]]>
By: Aaron Toponce : ZFS Administration, Appendix B- Using USB Drives https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-125908 Thu, 09 May 2013 12:00:34 +0000 http://pthree.org/?p=2632#comment-125908 [...] Getting and Setting Properties [...]

]]>
By: Aaron Toponce : Install ZFS on Debian GNU/Linux https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-125796 Mon, 06 May 2013 00:02:32 +0000 http://pthree.org/?p=2632#comment-125796 [...] Getting and Setting Properties [...]

]]>
By: Aaron Toponce : ZFS Administration, Part VIII- Zpool Best Practices and Caveats https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-124812 Fri, 19 Apr 2013 10:57:03 +0000 http://pthree.org/?p=2632#comment-124812 [...] Getting and Setting Properties [...]

]]>
By: Aaron Toponce : ZFS Administration, Part III- The ZFS Intent Log https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-124808 Fri, 19 Apr 2013 10:56:00 +0000 http://pthree.org/?p=2632#comment-124808 [...] Getting and Setting Properties [...]

]]>
By: Aaron Toponce : ZFS Administration, Part XII- Snapshots and Clones https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-122830 Tue, 08 Jan 2013 04:19:58 +0000 http://pthree.org/?p=2632#comment-122830 [...] Getting and Setting Properties [...]

]]>
By: Dominik Honnef https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-122662 Fri, 04 Jan 2013 18:38:20 +0000 http://pthree.org/?p=2632#comment-122662 Disregard previous comment, obviously zfs != zpool…

]]>
By: Dominik Honnef https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-122661 Fri, 04 Jan 2013 18:34:50 +0000 http://pthree.org/?p=2632#comment-122661 > I don’t know of a way to get string properties back to default after being set

Indirectly, `zfs inherit`should be doing that, if you consider the inherited value the default. And if no parent specified it, it will truly be the default value.

]]>
By: Aaron Toponce : ZFS Administration, Part II- RAIDZ https://pthree.org/2012/12/12/zfs-administration-part-vii-zpool-properties/#comment-121817 Thu, 13 Dec 2012 13:06:24 +0000 http://pthree.org/?p=2632#comment-121817 [...] Getting and Setting Properties [...]

]]>