SoftNAS API Guide
Menu
Index

3.25. writelog

 
Description
 
This method can be used to create log disk devices for pool storage.
 
POST writelog
 
 
 
Request
 
In addition the the Standard Request Structure, the following parameters are required.
 
For definitions of parameters, see section Properties
Parameter
Parameter name
Required?
disk devices
disk_devices
Y
pool name
pool_name
Y
raid level
raid_level
Y
force cache
force_cache
 
 
Response
 
 
Example
{
    "result": {
        "msg": "Write log pool 'pool3' was successful.",
        "records": [],
        "success": true,
        "total": 0
    },
    "session_id": 11255,
    "success": true
}
 
 
 
 
 
Made with help of Dr.Explain