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.
Requirements:
On Windows:
In pmdk-convert directory:
$ mkdir build
$ cd build
And then:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCPACK_GENERATOR=rpm
$ make package
$ sudo rpm -i pmdk-convert*.rpm
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCPACK_GENERATOR=deb
$ make package
$ sudo dpkg -i pmdk-convert*.deb
$ cmake .. -DCMAKE_INSTALL_PREFIX=/home/user/pmdk-convert-bin
$ make
$ make install
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.