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 code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.