pool

Operations with the spare pools.

# xicli pool <subcommand> <args> [optional_args]

Subcommands for the pool command:

add

Add drive(s) to the spare pool.

create

Create the spare pool.

delete

Delete the spare pool.

remove

Remove drive(s) from the spare pool.

show

Show info on the spare pool.

add

Add drive(s) to the spare pool.

# xicli pool add <args>
Table 1. Arguments for the add subcommand

Required arguments

-n

--name

The name of the spare pool.

-d

--drives

The list of block devices (/dev/sd*, /dev/mapper/mpath*, /dev/nvme*, /dev/dm-*) separated by a space.

create

Create the spare pool.

# xicli pool create <args>
Table 2. Arguments for the create subcommand

Required arguments

-n

--name

The name of the spare pool.

-d

--drives

The list of block devices (/dev/sd*, /dev/mapper/mpath*, /dev/nvme*, /dev/dm-*) separated by a space.

delete

Delete the spare pool.

# xicli pool delete <arg>
Table 3. Argument for the delete subcommand

Required argument

-n

--name

The name of the spare pool.

remove

Remove drive(s) from the spare pool.

# xicli pool remove <args>
Table 4. Arguments for the remove subcommand
Required arguments

-n

--name

The name of the spare pool.

-d

--drives

The list of block devices (/dev/sd*, /dev/mapper/mpath*, /dev/nvme*, /dev/dm-*) separated by a space.

show

Show info on the spare pool.

# xicli pool show [optional_args]
Table 5. Arguments for the show subcommand

Optional arguments

-n

--name

The name of the spare pool.

Without the argument, show info on all spare pools.

-f

--format

Output format:

  • table;
  • json;
  • prettyjson – human-readable json.

The default: table.

-u

--units

Size units:

  • s – sectors (1 sector=512 bytes);
  • k – kilobytes;
  • m – megabytes;
  • g – gigabytes.

The default: g.