pool
Operations with the spare pools.
Except for the show subcommand, the commands listed in this chapter require superuser privileges.
# 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>
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>
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>
Required argument |
||
-n |
--name |
The name of the spare pool. |
remove
Remove drive(s) from the spare pool.
# xicli pool remove <args>
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]
Optional arguments |
||
-n |
--name |
The name of the spare pool. Without the argument, show info on all spare pools. |
-f |
--format |
Output format:
The default: table. |
-u |
--units |
Size units:
The default: g. |