SoftNAS API Guide
Menu
Index

4.34. parted_command

 
Description
 
This method is used to issue a disk partitioning command.
 
Request
 
In addition the the Standard Request Structure, the following parameters are required.
 
For definitions of parameters, see section Properties
Parameter
Parameter Name
Required?
partition_all
 
N
add_partition
 
N
remove_partition
 
N
disk name
 
N
 
Example
$ softnas-cmd parted_command add_partition dev/xvdr -t
 
 
Made with help of Dr.Explain