Lightweight resource and provider to manage Solaris zfs file systems. Currently, only a limited sub-set of options are supported.
Solaris, zfs. Zpool should be already created, either manually or with the zpool LWRP.
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"
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