pmempool-check - Check and repair Persistent Memory Pool
pmempool check [<options>] <file>
The pmempool invoked with check command checks consistency of a given pool file. If the pool file is consistent pmempool exits with 0 value. If the pool file is not consistent non-zero error code is returned.
In case of any errors, the proper message is printed. The verbosity level may be increased using -v option. The output messages may be also suppressed using -q option.
It is possible to try to fix encountered problems using -r option. In order to be sure this will not corrupt your data you can either create backup of the pool file using -b option or just print what would be fixed without modifying original pool using -N option.
Try to repair a pool file if possible.
Answer yes on all questions.
Don't execute, just show what would be done.
-b, --backup <file>
Create backup of a pool file before executing. Terminate if it is not possible to create a backup file. This option requires -r option.
Be quiet and don't print any messages.
Be more verbose.
Display help message and exit.
# Check consistency of pool.bin pool file
# Check consistency of pool.bin pool file, create backup and repair if necessary.
# Check consistency of pool.bin pool file, print what would be repaired with increased verbosity level.
libpmemblk(3) libpmemlog(3) pmempool(1)
Part of the pmempool(1) suite.
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.