inspec/test/unit/mock/cmd/zpool-get-all-tank
Joseph Benden 1fdecc6680 Add FreeBSD support for ZFS datasets and pools
The following new resources have been added; however, they
presently only support FreeBSD and similar.

* `zfs_dataset`: tests if a named ZFS dataset is present
  and/or has certain properties.
* `zfs_pool`: tests if a named ZFS pool is present and/or
  has certain properties.

Additionally, the `mount` resource has been reworked to
include support for FreeBSD; while the existing class
was renamed to LinuxMountParser.

Unit-tests were added for all of the above.

Signed-off-by: Joseph Benden <joe@benden.us>
2017-02-22 10:29:49 -07:00

37 lines
1.2 KiB
Text

tank size 4982162063360 -
tank capacity 75 -
tank altroot - default
tank health ONLINE -
tank guid 4711279777582057513 default
tank version - default
tank bootfs tank/ROOT/hcbsd-11.0-RELEASE-p7-71c703 local
tank delegation on default
tank autoreplace off default
tank cachefile - default
tank failmode continue local
tank listsnapshots off default
tank autoexpand off default
tank dedupditto 0 default
tank dedupratio 1.00x -
tank free 1216428597248 -
tank allocated 3765733466112 -
tank readonly off -
tank comment - default
tank expandsize - -
tank freeing 0 default
tank fragmentation 49% -
tank leaked 0 default
tank feature@async_destroy enabled local
tank feature@empty_bpobj active local
tank feature@lz4_compress active local
tank feature@multi_vdev_crash_dump enabled local
tank feature@spacemap_histogram active local
tank feature@enabled_txg active local
tank feature@hole_birth active local
tank feature@extensible_dataset enabled local
tank feature@embedded_data active local
tank feature@bookmarks enabled local
tank feature@filesystem_limits enabled local
tank feature@large_blocks enabled local
tank feature@sha512 enabled local
tank feature@skein enabled local