RSS

zfs (6) Versions 0.0.6

Manages Solaris zfs

Berkshelf
Librarian
Knife
cookbook 'zfs', '~> 0.0.6'
cookbook 'zfs', '~> 0.0.6'
knife cookbook site install zfs
knife cookbook site download zfs
README
Dependencies
Foodcritic

Build Status

Description

Lightweight resource and provider to manage Solaris zfs file systems. Currently, only a limited sub-set of options are supported.

Requirements

Solaris, zfs. Zpool should be already created, either manually or with the zpool LWRP.

Attributes

mountpoint     - defaults to /name
zoned          - "on", "off" - defaults to "off"
atime          - "on, "off", - defaults to "on"
recordsize     - defaults to "128K"
compression    - "on", "off", "lzjb", "gzip", "gzip-1", "gzip-2", "gzip-3", "gzip-4", "gzip-5", "gzip-6", "gzip-7", "gzip-8", "gzip-9", "lz4" - defaults to "off"
quota          - size in B,KB,MB,GB,TB - defaults to "none"
refquota       - size in B,KB,MB,GB,TB - defaults to "none"
reservation    - size in B,KB,MB,GB,TB - defaults to "none"
refreservation - size in B,KB,MB,GB,TB - defaults to "none"
dedup          - "on", "off" - defaults to "off"

Usage

zfs "zones/test" do
  action :create
  mountpoint "/opt/test"
end

zfs "test/test2" do
  zoned "on"
  atime "off"
  recordsize "16K"
  mountpoint "none"
  compression "lz4"
end

zfs "test/test3" do
  action :destroy
end

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.0.6 passed Foodcritic.

© 2008 – 2015 Chef Software, Inc. All Rights Reserved.

Code of Conduct