SoftNAS API Guide
Menu
Index

3.24. readcache

 
Description
 
This method can be used to create cache disk devices for pool storage.
 
POST readcache
 
 
 
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
disc_devices
Y
pool name
pool_name
Y
force cache
force_cache
Y
 
Response
 
 
Example
{
    "result": {
        "msg": "Read Cache pool 'pool3' was successful.",
        "records": [],
        "success": true,
        "total": 0
    },
    "session_id": 11255,
    "success": true
}
 
 
 
 
 
 
 
 
Made with help of Dr.Explain