.\" Automatically generated by Pandoc 2.0.6 .\" .TH "" "" "2019-01-30" "PMDK - pmem Tools version 1.5" "PMDK Programmer's Manual" .hy .\" Copyright 2014-2019, Intel Corporation .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" .\" * Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" .\" * Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in .\" the documentation and/or other materials provided with the .\" distribution. .\" .\" * Neither the name of the copyright holder nor the names of its .\" contributors may be used to endorse or promote products derived .\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS .\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR .\" A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT .\" OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .SH NAME .PP \f[B]pmdk\-convert\f[] \- upgrade pool files layout version .SH SYNOPSIS .IP .nf \f[C] $\ pmdk\-convert\ \f[] .fi .SH DESCRIPTION .PP The \f[B]pmdk\-convert\f[] performs a conversion of the specified pool to the newest layout supported by this tool. Currently only \f[B]libpmemobj\f[](7) pools are supported. .PP 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. .PP This tool doesn't support remote replicas. Before a conversion all remote replicas have to be removed from the pool by \f[B]pmempool transform\f[] command. .SS Options: .PP \f[C]\-V,\ \-\-version\f[] .PP Display version information and exit. .PP \f[C]\-h,\ \-\-help\f[] .PP Display help and the list of supported layouts and corresponding PMDK versions. .PP \f[C]\-f,\ \-\-from=pmdk\-version\f[] .PP Convert from specified PMDK version. This option is exclusive with \-F option. .PP \f[C]\-F,\ \-\-from\-layout=version\f[] .PP Convert from specified layout version. This option is exclusive with \-f option. .PP \f[C]\-t,\ \-\-to=version\f[] .PP convert to specified PMDK version. This option is exclusive with \-T option. .PP \f[C]\-T,\ \-\-to\-layout=version\f[] .PP Convert to specified layout version. This option is exclusive with \-t option. .PP \f[C]\-X,\ \-\-force\-yes=[question]\f[] reply positively to specified question possible questions: \- fail\-safety \- 1.2\-pmemmutex .SH EXAMPLE .IP .nf \f[C] $\ pmempool\ convert\ pool.obj \f[] .fi .PP Updates pool.obj to the latest layout version. .IP .nf \f[C] $\ pmempool\ convert\ pool.obj\ \-\-from=1.2\ \-\-to=1.4 \f[] .fi .PP Updates pool.obj from PMDK 1.2 to PMDK 1.4 .SH SEE ALSO .PP \f[B]pmempool\f[](1), \f[B]libpmemblk\f[](7), \f[B]libpmemlog\f[](7), \f[B]libpmemobj\f[](7), \f[B]libpmempool\f[](7) and \f[B]\f[]