libpmempool provides a set of utilities for management, diagnostics and repair of persistent memory pools. By pool in this context we mean pmemobj pool, pmemblk pool, pmemlog pool or BTT layout, independent of the underlying storage. The libpmempool is for applications that need high reliability or built-in troubleshooting. It may be useful for testing and debugging purposes also.
Man pages that contains a list of the Linux interfaces provided:
Man pages that contains a list of the Windows interfaces provided:
More Detail Coming Soon
Example 1.
Let files /path/poolset_file_src
and /path/poolset_file_dst
have the
following contents:
Then
pmempool_transform("/path/poolset_file_src", "/path/poolset_file_dst", 0);
adds a replica to the poolset. All other replicas remain unchanged and the size of the pool remains 60M.
Example 2.
Let files /path/poolset_file_src
and /path/poolset_file_dst
have the
following contents:
Then
pmempool_transform("/path/poolset_file_src", "/path/poolset_file_dst", 0);
deletes the second replica from the poolset. The first replica remains unchanged and the size of the pool is still 60M.