Managing storage data cache
Although, the cache is configured, the caching requirements might change over time. You might want to add new workloads to be cached. To fulfill the changing requirements, the cache pool can be extended with additional cache devices, a new cache partition can be created in an existing pool, or an existing partition can be increased in size.
You can use the following examples to manage the caching configuration:
- To add a cache device to the pool, enter the following command:
The -f flag overrides any existing usage of the disk (# cache_mgt pool extend -p pool1 -d hdisk4 -f
hdisk4
) if the disk contains an existing volume group. - To create a partition for a new workload of size 100 MB, enter the following
command:
# cache_mgt partition create -p pool1 -s 100M -P part2
- To increase the size of an existing partition by 20 MB, enter the following
command:
# cache_mgt partition extend -p part1 -s 20M