Skip to main content
Version: 2.1

How to enable flash cache for storage pool

Connect to console

$ ssh [email protected]
Warning: Permanently added '192.168.1.x' (ECDSA) to the list of known hosts.
Password:

Check the storage cache status

Welcome to the Cube Appliance
Enter "help" for a list of available commands
controller> storage
controller:storage> cache
controller:cache> status
STATUS: off

Promote a SSD disk as cache

controller:cache> promote_disk
index name size storage ids
--
1 /dev/sdb 238.5G 0 1
2 /dev/sdc 931.5G 2 3
--
Enter the index to promote: 1

Enable cache

controller:cache> switch
Current cache status: off
Turn on/off the cache(on/off): on

Check the result

controller:cache> status
STATUS: on
USED SIZE
--
0.34 223GiB
--