pool.virtual
Minimal configlet:
[pool#1]
type = virtual
Minimal setup command:
om node set --kw="type=virtual"
addr
required: false
scopable: true
default: The ipaddr resolved for the nodename.
Example:
addr = 1.2.3.4
The addr to use to connect a peer. Use scoping to define each non-default address.
capabilities
required: false
scopable: false
default: roo rwo rox rwx
convert: list
The capabilities exposed by the virtual pool.
Supported capabilities:
sharedrooroxrworwxblk
mkblk_opt
required: false
scopable: false
The zvol, lv, and other block device creation command options to use to prepare the pool devices.
mkfs_opt
required: false
scopable: false
Example:
mkfs_opt = -O largefile
The mkfs command options to use to format the pool devices.
mnt_opt
required: false
scopable: true
The mount options of the fs created over the pool devices.
optional_volume_env
required: false
scopable: false
convert: list
Example:
optional_volume_env = container#1.name:container_name env.foo:foo
The list of the vol consumer service config keywords which values are mapped
as env keys in the allocated volume service.
If the keyword is not set at the source, the default value in the template env section applies.
status_schedule
required: false
scopable: false
The value to set to the status_schedule keyword of the vol objects
allocated from the pool.
See usr/share/doc/schedule for the schedule syntax.
template
required: false
scopable: false
Example:
template = templates/vol/mpool-over-loop
The path of a vol to use as a template for new volumes.
type
required: false
scopable: false
candidates: directory, loop, vg, zpool, freenas, share, shm, symmetrix, virtual, dorado, hoc, drbd, pure
default: directory
The pool type.
volume_env
required: false
scopable: false
convert: list
Example:
volume_env = container#1.name:container_name env.foo:foo
The list of the vol consumer service config keywords which values are mapped
as env keys in the allocated volume service.
If the keyword is not set at the source, an error is raised.