3.6.2. pfcache

Note

Note: This is a commercial feature. For information on how to purchase a Virtuozzo license and enable commercial features, please visit https://virtuozzo.com/.

Memory and IOPS deduplication management utility that enables/disables caching for container directories and files, verifies cache integrity, checks containers for cache errors, and purges the cache if needed.

Note

Note: The utility does not support additional disks attached to container.

Syntax. 

pfcache <command> {<file>|<dir> [<options>]

Table 3.50. Commands

NameDescription

mark

Enables caching of the specified files, directories or subdirectories in containers.

unmark

Disables caching of the specified files, directories or subdirectories in containers.

purge

Frees up space in the memory and IOPS deduplication cache image.

verify

Verifies the integrity of the specified mounted memory and IOPS deduplication cache and deletes corrupted files.

check

Checks for and fixes memory and IOPS deduplication cache errors in the specified container root directory.

stat

Displays inodes summary for a running container.

dump

In addition to the summary provided by stat, shows detailed information on PFCache inodes of a running container. If no options are specified, outputs full information on checksummed peer inodes.