Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2016 17:08:13 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD ZFS snapshots and "previous versions"
Message-ID:  <56FAA86D.6070404@FreeBSD.org>
In-Reply-To: <56FAA0B1.4000901@lightandshadow.tv>
References:  <56FAA0B1.4000901@lightandshadow.tv>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Dcvvj6pB81jgXhvH0CosoHlgHAsX8R7kQ
Content-Type: multipart/mixed; boundary="dn7Ign3VRMdNn5lq2wD9HsLs9Rp01eRXa"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <56FAA86D.6070404@FreeBSD.org>
Subject: Re: FreeBSD ZFS snapshots and "previous versions"
References: <56FAA0B1.4000901@lightandshadow.tv>
In-Reply-To: <56FAA0B1.4000901@lightandshadow.tv>

--dn7Ign3VRMdNn5lq2wD9HsLs9Rp01eRXa
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2016/03/29 16:35, Dennis Steinkamp wrote:
> - Are OmniOS and FreeBSD are on the same ZFS version (or at least equal=

> feature wise)

Pretty much, yes.  Since the end of the Oracle code, there's hasn't been
a version number per-se, but a set of feature flags.  Given you're using
a system based on OpenZFS code, so long as you have support for the same
set of feature flags then you should have compatible functionality.

You can see what feature-flags are supported on any system by running
'zpool upgrade -v' -- this is what you get on a recent 10.3-PRERELEASE
machine:

{{{
% zpool upgrade -v
This system supports ZFS pool feature flags.

The following features are supported:

FEAT DESCRIPTION
-------------------------------------------------------------
async_destroy                         (read-only compatible)
     Destroy filesystems asynchronously.
empty_bpobj                           (read-only compatible)
     Snapshots use less space.
lz4_compress
     LZ4 compression algorithm support.
multi_vdev_crash_dump
     Crash dumps to multiple vdev pools.
spacemap_histogram                    (read-only compatible)
     Spacemaps maintain space histograms.
enabled_txg                           (read-only compatible)
     Record txg at which a feature is enabled
hole_birth
     Retain hole birth txg for more precise zfs send
extensible_dataset
     Enhanced dataset functionality, used by other features.
embedded_data
     Blocks which compress very well use even less space.
bookmarks                             (read-only compatible)
     "zfs bookmark" command
filesystem_limits                     (read-only compatible)
     Filesystem and snapshot limits.
large_blocks
     Support for blocks larger than 128KB.

The following legacy versions are also supported:

VER  DESCRIPTION
---  --------------------------------------------------------
 1   Initial ZFS version
 2   Ditto blocks (replicated metadata)
 3   Hot spares and double parity RAID-Z
 4   zpool history
 5   Compression using the gzip algorithm
 6   bootfs pool property
 7   Separate intent log devices
 8   Delegated administration
 9   refquota and refreservation properties
 10  Cache devices
 11  Improved scrub performance
 12  Snapshot properties
 13  snapused property
 14  passthrough-x aclinherit
 15  user/group space accounting
 16  stmf property support
 17  Triple-parity RAID-Z
 18  Snapshot user holds
 19  Log device removal
 20  Compression using zle (zero-length encoding)
 21  Deduplication
 22  Received properties
 23  Slim ZIL
 24  System attributes
 25  Improved scrub stats
 26  Improved snapshot deletion performance
 27  Improved snapshot creation performance
 28  Multiple vdev replacements

For more information on a particular version, including supported release=
s,
see the ZFS Administration Guide.

}}}

> - Am i able to build a prooduction stable zfs filer with freebsd that
> supports zfs snapshots for windows clients the same way OmniOS does.

Yes.

In fact, for NAS use, take a look at http://www.freenas.org/ which is a
project built on FreeBSD and ZFS.

	Cheers,

	Matthew



--dn7Ign3VRMdNn5lq2wD9HsLs9Rp01eRXa--

--Dcvvj6pB81jgXhvH0CosoHlgHAsX8R7kQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQJ8BAEBCgBmBQJW+qhzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTntLcQAJI1V9YbQa/KkkuEXn4UXdh3
jI0dLUOzMSYNLGnwTqvwg963tu7Udr2ziZkmtR/Ss+Z1RRb68WpkiMtGvXJE9aeF
kGPv7sQw7VmhHWBBzi/E83k5cqihcYed1g7nhvFZCM19ZTzHvuXQuUIld2zQO5KH
vxkeAx14cuNA0ginPpxUj01YdxPNq2DkO4JhBXmZYbKJG0LCI3bXzOs7gA79FjFn
13RUU51Jtjuj9vMM04ZczNqs/9lrEc/gq5A76du3Ov80YMrs0Q2tMJjm11BVojNM
FmHOdzYTAeQJ4Put5KeeQN+Fit04tSv+SDugRrHjT7FiVQSYEYHvwUaYFC8Uint3
3vIdyvJB3YWrHPDHGgN26PatXkr6BxJKAZktFLrP9ScP/Ty2s7T8nPIji2xFP6Fb
NQfk7uL0XxVPLpNMOMDFWhhVN2xR+y3oV4MtKFqtluuO08TZDgFfek6WQA3IR8Pc
NQBWzvFmgjU+AljBvwowTON/qN4YBTyRYXzKxuc+/VPkxJgEVOx3EKACcoJ6gqX5
dCTodA9VrediFuyZmBEWJT0ovlG/QG5yN9BvFQR3Deuix2tZFQ3G5iSHax9pbrZ/
1vSAw8yv3bwdXku8+wmYAkNnlJiEaxLCdJAS2L5pisnfBJhVtQFe8JwE4/uRP9Pg
WR3hL86qnO21YPJP07R2
=DIR3
-----END PGP SIGNATURE-----

--Dcvvj6pB81jgXhvH0CosoHlgHAsX8R7kQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56FAA86D.6070404>