1()                         PMDK Programmer's Manual                         ()
2
3
4

NAME

6       pmempool-rm - remove a persistent memory pool
7

SYNOPSIS

9              $ pmempool rm [<options>] <file>..
10

NOTE

12              NOTICE:  The  libpmemblk and libpmemlog libraries are deprecated
13              since PMDK 1.13.0 release.
14

DESCRIPTION

16       The pmempool rm command removes each specified file.  If the  specified
17       file  is  a  pool  set  file,  all pool files (single-file pool or part
18       files) are removed.  By default the pmempool rm does  not  remove  pool
19       set files.  All pool files are removed using unlink(3) call, except the
20       pools created on device dax which are  zeroed  instead.   If  specified
21       file  does  not  exist the pmempool rm command terminates with an error
22       code.  By default it prompts  before  removing  write-protected  files.
23       See EXAMPLES section for example usage of the rm command.
24
25   Available options:
26       -h, --help
27
28       Print help message
29
30       -v, --verbose
31
32       Be verbose and print all removing files.
33
34       -s, --only-pools
35
36       Remove only pool files and do not remove pool set files (default behav‐
37       iour).
38
39       -a, --all
40
41       Remove all pool set files.
42
43       -l, --local
44
45       Remove local pool set files.
46
47       -f, --force
48
49       Remove all specified files, ignore nonexistent files, never prompt.
50
51       -i, --interactive
52
53       Prompt before removing every single file.
54

EXAMPLE

56              $ pmempool rm pool.obj pool.blk
57
58       Remove specified pool files.
59
60              $ pmempool rm pool.set
61
62       Remove all pool files from the “pool.set”, do not remove  pool.set  it‐
63       self.
64
65              $ pmempool rm -a pool.set
66
67       Remove all pool files from the “pool.set”.
68

SEE ALSO

70       pmempool(1),    libpmemblk(7),    libpmemlog(7),    libpmemobj(7)   and
71       <https://pmem.io>
72
73
74
75PMDK -                            2023-06-05                                ()
Impressum