pmdk-convert

pmdk-convert: PMDK pool conversion tool

The pmdk-convert performs a conversion of the specified pool to the newest layout supported by this tool. Currently only libpmemobj(7) pools are supported.

The conversion process is not fail-safe - power interruption may damage the pool. It is advised to have a backup of the pool before conversion.

This tool doesn’t support remote replicas. Before a conversion all remote replicas have to be removed from the pool by pmempool transform command.

See the pmdk-convert man page for current master documentation and examples.

Building The Source

Requirements:

  • cmake >= 3.3

On Windows:

In pmdk-convert directory:

$ mkdir build
$ cd build

And then:

On RPM-based Linux distros (Fedora, openSUSE, RHEL, SLES)

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCPACK_GENERATOR=rpm
$ make package
$ sudo rpm -i pmdk-convert*.rpm

On DEB-based Linux distros (Debian, Ubuntu)

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCPACK_GENERATOR=deb
$ make package
$ sudo dpkg -i pmdk-convert*.deb

On other Linux distros

$ cmake .. -DCMAKE_INSTALL_PREFIX=/home/user/pmdk-convert-bin
$ make
$ make install

On Windows

PS> cmake .. -G "Visual Studio 14 2015 Win64"
PS> msbuild build/ALL_BUILD.vcxproj

To build pmdk-convert on Windows 8 you have to specify your SDK version in the cmake command, e.g.

PS> cmake .. -G "Visual Studio 14 2015 Win64" -DCMAKE_SYSTEM_VERSION="10.0.26624"

The contents of this web site and the associated GitHub repositories are BSD-licensed open source.