SoftNAS API Guide
Menu
Index

4.16. createpool

 
Description
 
This method is used to create a new 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?
disc devices
disc devices
Y
pool name
pool_name
Y
raid level
raid level
Y
enable compression
compression
Y
 
Example
$ softnas-cmd createpool /dev/xvdf:/dev/xvdg pool1 1 on -t
 
 
Made with help of Dr.Explain