SoftNAS API Guide
Menu
Index

4.21. addspare

 
Description
 
This method is used to add a spare disk to a storage pool.
 
Properties
 
In addition the the Standard Request Structure, the following parameters are required.
 
For definitions of parameters, see section Properties
Name
Parameter Name
Required?
disk devices
disk_devices
Y
pool name
pool_name
Y
forced spare
forced_spare
Y
 
Example
$ softnas-cmd addspare /dev/xvdn pool3 on -t
 
 
Made with help of Dr.Explain