1FSADM(8)                                                              FSADM(8)
2
3
4

NAME

6       lvm_import_vdo — utility to import VDO volumes into a new volume group.
7

SYNOPSIS

9       lvm_import_vdo
10                 [options] device
11

DESCRIPTION

13       lvm_import_vdo utility imports VDO volumes created and managed by
14       vdo(8) manager into lvm2(8) managed VDO LV. This is realized by moving
15       VDO superblock by 2MiB and creating lvm2 metadata at the front of this
16       device. The operation is not reversible, thus after conversion to lvm2
17       the access to VDO data is only possible with lvm2(8) commands, vdo(8)
18       manager no longer control such volume.
19

OPTIONS

21       -f|--force
22              Bypass some sanity checks.
23
24       -h|--help
25              Display the help text.
26
27       -n|--name
28              Specifies the name of converted VDO LV. When the name is not
29              specified, some automatic name is selected. In case the con‐
30              verted VDO volume is already using LV a backend device, the name
31              of this LV is used for VDO LV.  In this case also the of volume
32              group must stay same.  Automatic name may change between re‐
33              leases and currently selects "vdolv" as LV name and VG name is
34              selected from sequence "vdovg", "vdovg1", ...
35
36       -v|--verbose
37              Be more verbose.
38
39       -y|--yes
40              Answer "yes" at any prompts.
41
42       --dry-run
43              Print verbosely commands without running them.
44

DIAGNOSTICS

46       On successful completion, the status code is 0.  A status code of 1 is
47       used for failure.
48

EXAMPLES

50       Convert VDO volume created by vdo manager into logical volume LV1 with
51       within volume group VG1.
52
53       # lvm_import_vdo --name VG1/LV1 /dev/mapper/vdo-volume
54

ENVIRONMENT VARIABLES

56       TMPDIR The temporary directory name for mount points. Defaults to
57              "/tmp".
58
59       DM_DEV_DIR
60              The device directory name.  Defaults to "/dev" and must be an
61              absolute path.
62

SEE ALSO

64       lvm(8), lvm.conf(5),
65
66       vdo(8),
67
68
69
70Red Hat, Inc         LVM TOOLS 2.03.18(2)-git (2022-11-10)            FSADM(8)
Impressum