Skip to content

marthag8/zfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%