Re: [zfs-macos] What's zpool version 5000?!

2014-07-05 Thread ilovezfs
No MacZFS does not support feature flags, which require pool version 5000. 
MacZFS supports up to pool version 8.

On OS X, only OpenZFS on OS X supports feature flags:
https://openzfsonosx.org/

On Saturday, July 5, 2014 8:33:26 PM UTC-7, S P Arif Sahari Wibowo wrote:
>
> On 2014-02-27, 16:23, Bjoern Kahl wrote: 
> > Feature flags are a way to solve the problem of potentially 
> > incompatible changes to the on-disk data structures in the 
> > absence of a central authority that defines what a given 
> > version of the software should support. 
>
> I just going to ask question about this. So MacZFS does use 
> Feature Flags instead of version number for its zpool? Will it 
> accept zpool with any version number, then? 
>
> Thanks! 
>
> -- 
>        (stephan paul) Arif Sahari Wibowo 
>/___  /___/ /___/ /___  http://www.arifsaha.com/ 
>   / / /   / / 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"zfs-macos" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zfs-macos+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [zfs-macos] What's zpool version 5000?!

2014-07-05 Thread S P Arif Sahari Wibowo

On 2014-02-27, 16:23, Bjoern Kahl wrote:
Feature flags are a way to solve the problem of potentially 
incompatible changes to the on-disk data structures in the 
absence of a central authority that defines what a given 
version of the software should support.


I just going to ask question about this. So MacZFS does use 
Feature Flags instead of version number for its zpool? Will it 
accept zpool with any version number, then?


Thanks!

--
          (stephan paul) Arif Sahari Wibowo
  /___  /___/ /___/ /___  http://www.arifsaha.com/
 / / /   / /

--

--- 
You received this message because you are subscribed to the Google Groups "zfs-macos" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to zfs-macos+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [zfs-macos] What's zpool version 5000?!

2014-02-27 Thread Bjoern Kahl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 27.02.14 23:27, schrieb Daniel Jozsef:
> Hey ppl ;) I've been wondering about "version 5000", and what it
> signifies. Does this bump mean a fork from Oracle's code? Will
> there be a 5001, 5002, 5099, etc. in the future, on a path separate
> and incompatible from Oracle's versions? Or is it just some kind of
> nonsense number, like setting Samba OS level to MAXINT? :) Is v5000
> identical to v28 or does it indicate some kind of incremental 
> update to 28?

 the pool version 5000 indicates pools that support the so-called
 feature flags.

 A version 5000 pool with no specific features turned on is essentially
 a v28 pool with the same on-disk data layout.

 Feature flags are a way to solve the problem of potentially
 incompatible changes to the on-disk data structures in the absence of
 a central authority that defines what a given version of the software
 should support.

 Instead of incrementing the pool version by one every time an
 incompatible change occurred and coordinating the version increase
 across all independent implementations of ZFS, now any implementation
 can define new features that are supported by that implementation and
 possibly some other implementations that pickup the change.

 Such a pool can be imported read-only by any implementation that
 support reading all features active in the pool and read-write by any
 implementation that support writing all active features.  Some
 features are defined as only requiring implementation support for
 writing, that is a pool with such a feature active can be imported
 read-only by an implementation that has no support for the feature.


 Since feature are technically pool properties, there is no reason to
 ever again increase the pool version to support new features.  As
 such, the "5000" in pool version 5000 is just an arbitrary number made
 up to distinguish feature flag enabled pools from legacy Oracle pools.


 Hope that clarifies it a bit.


Björn


- -- 
| Bjoern Kahl   +++   Siegburg   +++Germany |
| "googlelogin@-my-domain-"   +++   www.bjoern-kahl.de  |
| Languages: German, English, Ancient Latin (a bit :-)) |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQCVAgUBUw/JAFsDv2ib9OLFAQJRSAP9HtM4vSqRUgDrjlxNrH+Yh5xYZewMBpJV
RUkXYJkapGqioOJjsifo/mxmXTj81eSVjeKaCl0h5ToPbfCJ14FC3soyeJ3E9DkG
xhp5TbxRY4fWYiSACqO42hgt9hgSNQD0WGLzdOp73HtyG4tt7Rc5+PmLughbsHfM
YtoS7N72Rzo=
=QYf+
-END PGP SIGNATURE-

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"zfs-macos" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zfs-macos+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.