st_device_add

Add a new disk (device) to an existing node

Mandatory parameters

Parameter name Data type Description
node integer Physical node ID
disk string disk
devname string Device name

Optional parameters

Parameter name Data type Description
sector_size string Device sector size in string or unicode with unit. Example: 4 KiB, default 4 KiB.
seccount integer Device sector count, 0 if unknown (default: 0)
read_only boolean If hdd is read_only (default: false)
sync_crc boolean CRC sync (default: true)
use_crc boolean Use CRC (default: true)
ephemeral boolean ephemeral in type bool
direct_io boolean direct_io in type bool

Substitute parameters

There are no substitute parameters.

Allowed users

There are no defined allowed users.

Allowed groups

The following groups are allowed to run this job:

  • root
  • exaadm
  • exastoradm

Examples

The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.