Associate a cache with an existing pool.
nlvm [nlvm_options] cacheenable <name> <cachedev> <cachesize>
Command Options
Mandatory. Specify the name of an existing pool for which you want to associate a cache.
Example
name=MYPOOL1
Mandatory. Specify the name of the NSS cache device from which the cache has to be allocated.
Examples
cachedev=MYCACHEDEV1
Mandatory. Specify the amount of space to be used on the associated device. The size is not used if you specify the part= option instead of device=. The total cache device size must be greater than 10 megabytes.
If multiple devices are specified, each device option instance must have a matching size option instance. The first size instance is matched to the first device instance, and so on.
Example
size=200G size=3.98T
Command Examples
Associate cache size of 2G from MYCACHEDEV1 to an existing pool MYPOOL1.
By default, an additional 1/4th of the cache size is allocated to cache metadata.