Operate Cache Task

This topic introduces how to control the cache states of a cache task and volumes attached to this task. You can pause or resume the entire functionality of the cache work, or only the defer-write feature. Unlike cache configuration which is identical among all volumes under the cache task, cache state of a volume is independent from each other. To control the state of a cached volume, click and highlight the volume entry in the Cache Task List first. If you want to set the state for all volumes under a cache task in one time, then click and highlight the cache task entry first.

The following figure shows an example to set the state of volume E.

Here is another example to set the state for all volumes (C, D, E) attached to cache task #1.

Pause Cache

Click on the icon button in the command toolbar to pause the entire cache functionality. When the cache work is paused, it will keep current cache content, but simply forward read/write requests to the underlying disk without using cache content. This means that the cache has no effect in the paused state. If the Defer-Write feature is enabled, all currently deferred write-data will be flushed to disk, and then Defer-Write will be also paused.

Resume Cache

Click on the icon button in the command toolbar to resume the cache functionality if cache work is in paused state.

Reset Cache Content

Right-click on the highlighted entry and then choose Reset Cache Content or Reset Cache Content (This Volume). If this command is confirmed, PrimoCache will delete corresponding cache contents and empty cache storage.

Pause Defer-Write

Click on the icon button in the command toolbar to pause the Defer-Write feature if necessary. When Defer-Write is paused, PrimoCache will flush all currently deferred write-data to disk first, and then process incoming write requests by storing write-data synchronously to the underlying disk.

Resume Defer-Write

Click on the icon button in the command toolbar to resume the Defer-Write feature if Defer-Write is in paused state.

Flush Deferred Write-data

By default, deferred write-data stored in the cache are flushed to disk at specified intervals, or when hibernating or shutting-down. However you can manually flush deferred write-data to disk whenever you want by clicking on the icon button in the command toolbar.