diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-07-09 14:44:07 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-07-09 14:57:59 +0200 |
commit | ed48cb26a31e8e5a12d82d96d8bec6bfc4d5b218 (patch) | |
tree | 961bd93ba48e7c253794c43b3a96fd469530b77f /configure.ac | |
parent | 3a92d633a5a23377aa0d5d4ed5a01db8ca14cf69 (diff) | |
download | lvm2-ed48cb26a31e8e5a12d82d96d8bec6bfc4d5b218.tar.gz |
vdo: add vdoimport support
Add tool 'vdoimport' to support easy conversion of an existing VDO manager managed
VDO volumes into lvm2 managed VDO LV.
When physical converted volume is already a logical volume, conversion
happens with the VG itself, just with validation for extent_size, so
the virtually sized logical VDO volume size can be expressed in extents.
Example of basic simple usage:
vdoimport --name vg/vdolv /dev/mapper/vdophysicalvolume
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 40acc49c2..a20633e21 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,7 @@ case "$host_os" in DM_IOCTLS=yes SELINUX=yes FSADM=yes + VDOIMPORT=yes BLKDEACTIVATE=yes ;; darwin*) @@ -59,6 +60,7 @@ case "$host_os" in DM_IOCTLS=no SELINUX=no FSADM=no + VDOIMPORT=no BLKDEACTIVATE=no ;; *) @@ -1311,6 +1313,14 @@ AC_ARG_ENABLE(fsadm, AC_HELP_STRING([--disable-fsadm], [disable fsadm]), FSADM=$enableval) AC_MSG_RESULT($FSADM) + +################################################################################ +dnl -- Enable vdoimport +AC_MSG_CHECKING(whether to install vdoimport) +AC_ARG_ENABLE(vdoimport, AC_HELP_STRING([--disable-vdoimport], [disable vdoimport]), + VDOIMPORT=$enableval) +AC_MSG_RESULT($VDOIMPORT) + ################################################################################ dnl -- Enable blkdeactivate AC_MSG_CHECKING(whether to install blkdeactivate) @@ -1666,6 +1676,9 @@ USRSBINDIR="$(eval echo $(eval echo $usrsbindir))" FSADM_PATH="$SBINDIR/fsadm" AC_DEFINE_UNQUOTED(FSADM_PATH, ["$FSADM_PATH"], [Path to fsadm binary.]) +VDOIMPORT_PATH="$SBINDIR/vdoimport" +AC_DEFINE_UNQUOTED(VDOIMPORT_PATH, ["$VDOIMPORT_PATH"], [Path to vdoimport binary.]) + ################################################################################ dnl -- dmeventd pidfile and executable path if test "$BUILD_DMEVENTD" = yes; then @@ -1902,6 +1915,8 @@ AC_SUBST(SILENT_RULES) AC_SUBST(USRSBINDIR) AC_SUBST(VALGRIND_POOL) AC_SUBST(VDO) +AC_SUBST(VDOIMPORT) +AC_SUBST(VDOIMPORT_PATH) AC_SUBST(VDO_FORMAT_CMD) AC_SUBST(VDO_INCLUDE) AC_SUBST(VDO_LIB) |