From bbbd4fed69d88e67678994cb611d082d27bb774b Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Thu, 26 Aug 2021 16:53:33 +0200 Subject: vdo: Rename vdoimport to lvm_import_vdo. --- man/Makefile.in | 2 +- man/lvm_import_vdo.8_main | 92 +++++++++++++++++++++++++++++++++++++++++++++++ man/vdoimport.8_main | 92 ----------------------------------------------- 3 files changed, 93 insertions(+), 93 deletions(-) create mode 100644 man/lvm_import_vdo.8_main delete mode 100644 man/vdoimport.8_main (limited to 'man') diff --git a/man/Makefile.in b/man/Makefile.in index d60a92cde..45ebf5446 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -23,7 +23,7 @@ else endif FSADMMAN = fsadm.8 -VDOIMPORTMAN = vdoimport.8 +VDOIMPORTMAN = lvm_import_vdo.8 BLKDEACTIVATEMAN = blkdeactivate.8 DMEVENTDMAN = dmeventd.8 DMFILEMAPDMAN = dmfilemapd.8 diff --git a/man/lvm_import_vdo.8_main b/man/lvm_import_vdo.8_main new file mode 100644 index 000000000..ee817a0cc --- /dev/null +++ b/man/lvm_import_vdo.8_main @@ -0,0 +1,92 @@ +.TH "FSADM" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\"" +. +.SH "NAME" +. +lvm_import_vdo \(em utility to import VDO volumes into a new volume group. +. +.SH SYNOPSIS +. +.PD 0 +.ad l +.TP 10 +.B lvm_import_vdo +.RI [ options ] +.IR device +. +.PD +. +.SH DESCRIPTION +. +lvm_import_vdo utility imports VDO volumes created and managed by +.BR vdo (8) +manager into +.BR lvm2 (8) +managed VDO LV. This is realized by moving VDO superblock by 2MiB +and creating lvm2 metadata at the front of this device. The operation is not reversible, +thus after conversion to lvm2 the access to VDO data is only possible with +.BR lvm2 (8) +commands, +.BR vdo (8) +manager no longer control such volume. +. +.SH OPTIONS +. +.TP +.BR -f | --force +Bypass some sanity checks. +. +.TP +.BR -h | --help +Display the help text. +. +.TP +.BR -n | --name +Specifies the name of converted VDO LV. When the name is not specified, +some automatic name is selected. In case the converted VDO volume is +already using LV a backend device, the name of this LV is used for VDO LV. +In this case also the of volume group must stay same. +. +.TP +.BR -v | --verbose +Be more verbose. +. +.TP +.BR -y | --yes +Answer "yes" at any prompts. +. +.TP +.BR --dry-run +Print commands without running them. +. +. +.SH DIAGNOSTICS +. +On successful completion, the status code is 0. +A status code of 1 is used for failure. +. +.SH EXAMPLES +. +Convert VDO volume created by vdo manager into logical volume LV1 with within volume group VG1. +.P +# +.B lvm_import_vdo --name VG1/LV1 /dev/mapper/vdo-volume +. +.SH ENVIRONMENT VARIABLES +. +.TP +.B TMPDIR +The temporary directory name for mount points. Defaults to "\fI/tmp\fP". +.TP +.B DM_DEV_DIR +The device directory name. +Defaults to "\fI/dev\fP" and must be an absolute path. +. +.SH SEE ALSO +. +.nh +.ad l +.BR lvm (8), +.BR lvm.conf (5), +.P +.BR vdo (8), +.BR vdo2lvm (8), diff --git a/man/vdoimport.8_main b/man/vdoimport.8_main deleted file mode 100644 index 1f329099c..000000000 --- a/man/vdoimport.8_main +++ /dev/null @@ -1,92 +0,0 @@ -.TH "FSADM" "8" "LVM TOOLS #VERSION#" "Red Hat, Inc" "\"" -. -.SH "NAME" -. -vdoimport \(em utility to import VDO volumes into a new volume group. -. -.SH SYNOPSIS -. -.PD 0 -.ad l -.TP 10 -.B vdoimport -.RI [ options ] -.IR device -. -.PD -. -.SH DESCRIPTION -. -vdoimport utility imports VDO volumes created and managed by -.BR vdo (8) -manager into -.BR lvm2 (8) -managed VDO LV. This is realized by moving VDO superblock by 2MiB -and creating lvm2 metadata at the front of this device. The operation is not reversible, -thus after conversion to lvm2 the access to VDO data is only possible with -.BR lvm2 (8) -commands, -.BR vdo (8) -manager no longer control such volume. -. -.SH OPTIONS -. -.TP -.BR -f | --force -Bypass some sanity checks. -. -.TP -.BR -h | --help -Display the help text. -. -.TP -.BR -n | --name -Specifies the name of converted VDO LV. When the name is not specified, -some automatic name is selected. In case the converted VDO volume is -already using LV a backend device, the name of this LV is used for VDO LV. -In this case also the of volume group must stay same. -. -.TP -.BR -v | --verbose -Be more verbose. -. -.TP -.BR -y | --yes -Answer "yes" at any prompts. -. -.TP -.BR --dry-run -Print commands without running them. -. -. -.SH DIAGNOSTICS -. -On successful completion, the status code is 0. -A status code of 1 is used for failure. -. -.SH EXAMPLES -. -Convert VDO volume created by vdo manager into logical volume LV1 with within volume group VG1. -.P -# -.B vdoimport --name VG1/LV1 /dev/mapper/vdo-volume -. -.SH ENVIRONMENT VARIABLES -. -.TP -.B TMPDIR -The temporary directory name for mount points. Defaults to "\fI/tmp\fP". -.TP -.B DM_DEV_DIR -The device directory name. -Defaults to "\fI/dev\fP" and must be an absolute path. -. -.SH SEE ALSO -. -.nh -.ad l -.BR lvm (8), -.BR lvm.conf (5), -.P -.BR vdo (8), -.BR vdo2lvm (8), -- cgit v1.2.1