Use the htcformat command to prepare a raw device or file to hold the proxy cache. This format command must be used before the device is specified for use with the proxy cache.
The device path must specify the raw device. See your file system documentation for details on how to access raw devices. Examples are available in Configuring proxy server caching.
The minimum size for a Caching Proxy cache is 16392 KB, which is 2049 blocks.
htcformat device [-blocksize <block size>] [-blocks number of blocks] htcformat -file filepath [-blocksize block size] -blocks number of blocks
The caching system additionally segregates cache files or devices into containers for indexing and garbage collection. The size of containers is set to a certain number of blocks; container size cannot be configured. In order for garbage collection to run, a minimum of two containers is required; the minimum cache size is 16392 KB.
The htcformat command rejects a format request that yields a cache device with fewer than two containers.
The following example formats a disk partition called c0t0d0s0 on Solaris.
htcformat /dev/rdsk/c0t0d0s0
The following example formats a disk partition called lv02 on AIX.
htcformat /dev/rlv02
The following example formats a disk partition called d: on Windows.
htcformat \\.\d:
The following example formats a file named filecache to be about 1 GB large.
htcformat -file /opt/ibm/edge/cp/filecache -blocks 131072