You can use the odmadm setcachemap command to configure the cachemap. The cachemap maps file type and I/O type combinations to caching advisories. ODM uses the cachemap for all files that have the default conditional cache setting. Such files are those for which caching has not been turned on or off by the odmadm setcachefile command.
See the odmadm
(1M) manual page.
By default, the cachemap is empty, but you can add caching advisories by using the odmadm setcachemap command.
To add caching advisories to the cachemap
Add a caching advisory to the cachemap:
# odmadm setcachemap data/data_read_seq=cache,readahead
With this example command, ODM uses caching and readahead for I/O to online log files (data
) that have the data_read_seq
I/O type. You can view the valid file type and I/O type values from the output of the odmadm getcachemap command.