The tasks for configuring cache storage depend on whether you use a memory cache or a disk cache.
To use a memory cache, customize the Cache Memory setting so that it includes enough memory to hold the contents of a cache. See Set cache memory for recommended cache memory sizes.
To use a disk cache, you must do the following:
The cache requires a specially formatted device. Devoting an entire device or disk partition to the cache is recommended. The minimum size for a cache is 16392 KB.
To format the cache device:
htcformat raw_device_path [-blocksize block_size] [-blocks number_of_blocks]The -blocksize and -blocks arguments are optional. The default block size is 8192 bytes. If the number of blocks is not specified, the disk partition will be filled with as many blocks as it can contain.
When specifying the device path, be sure to specify the raw device path.
raw /dev/raw/raw1 dev/sdb1
See the reference material for your file system for additional information about accessing raw devices.
If the operating system attempts to write to the cache device, cached data can be lost. To avoid this, you can use the Windows Disk Manager utility to prepare the disk before using the htcformat command. To prepare the disk, use the disk utility to delete the device or partition you want to use, then recreate it without formatting it. This causes the system to consider the device unavailable for system storage.