Driver pool.hoc
Minimal configlet:
[pool#1]
type = hoc
array =
diskgroup =
Minimal setup command:
om test/ccfg/foo set \
--kw="type=hoc" \
--kw="array=" \
--kw="diskgroup="
Supported keywords:
- array
- compression
- dedup
- diskgroup
- fs_type
- label_prefix
- max_peers
- mkblk_opt
- mkfs_opt
- mnt_opt
- pool_id
- status_schedule
- type
- volume_id_range_from
- volume_id_range_to
- vsm_id
Keyword array
required: true
scopable: true
Description:
The name of the array, known as array#<name> in the node or cluster
configuration.
Keyword compression
required: false
scopable: false
default: false
convert: bool
Description:
Activate compression on created luns.
Keyword dedup
required: false
scopable: false
default: false
convert: bool
Description:
Activate data deduplcation on created luns.
Keyword diskgroup
required: true
scopable: false
Description:
The name of the array disk group to allocate volumes from.
Keyword fs_type
required: false
scopable: false
default: xfs
Description:
The filesystem to format the pool devices with.
Keyword label_prefix
required: false
scopable: false
Description:
The prefix to add to the label assigned to the created disks.
Keyword max_peers
required: false
scopable: false
convert: int
Example:
max_peers=8
Description:
Keyword mkblk_opt
required: false
scopable: false
Description:
The zvol, lv, and other block device creation command options to use to prepare the pool devices.
Keyword mkfs_opt
required: false
scopable: false
Example:
mkfs_opt=-O largefile
Description:
The mkfs command options to use to format the pool devices.
Keyword mnt_opt
required: false
scopable: true
Description:
The mount options of the fs created over the pool devices.
Keyword pool_id
required: false
scopable: false
Description:
The Hitachi Ops Center storage machine pool name. Volumes are created in this storage pool.
Keyword status_schedule
required: false
scopable: false
Description:
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.
Keyword type
required: false
scopable: false
candidates: directory, loop, vg, zpool, freenas, share, shm, symmetrix, truenas, virtual, dorado, hoc, drbd, pure, rados
default: directory
Description:
The pool type.
Keyword volume_id_range_from
required: false
scopable: false
Description:
The start of the range of ldev ids to allocate from.
Keyword volume_id_range_to
required: false
scopable: false
Description:
The end of the range of ldev ids to allocate from.
Keyword vsm_id
required: false
scopable: false
Description:
The name of the virtual storage machine id to allocate volume into.