Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Driver pool.drbd

Minimal configlet:

[pool#1]
type = drbd

Minimal setup command:

om test/ccfg/foo set --kw="type=drbd"

Supported keywords:

  • addr
  • fs_type
  • max_peers
  • mkblk_opt
  • mkfs_opt
  • mnt_opt
  • path
  • status_schedule
  • template
  • type
  • vg
  • zpool

Keyword addr

required:    false
scopable:    true

Default:

The ipaddr resolved for the nodename.

Example:

addr=1.2.3.4

Description:

The addr to use to connect a peer. Use scoping to define each non-default address.

Keyword fs_type

required:    false
scopable:    false
default:     xfs

Description:

The filesystem to format the pool devices with.

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 path

required:    false
scopable:    false

Description:

The fullpath of the directory hosting the pool volumes loop files.

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 template

required:    false
scopable:    false

Example:

template=live-migration

Description:

The value of the template keyword to set in the drbd resource of the created volumes

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 vg

required:    false
scopable:    false

Description:

The name of the volume group to allocate the pool volumes logical volumes into.

Keyword zpool

required:    false
scopable:    false

Description:

The name of the zpool to allocate the pool volumes zvol into.