Back to main site | Back to man page index

LVPOLL(8)                                      System Manager's Manual                                      LVPOLL(8)



NAME
       lvpoll — Internal command used by lvmpolld to complete some Logical Volume operations.


SYNOPSIS
       lvm  lvpoll --polloperation {pvmove|convert|merge|merge_thin} [--abort] [-A|--autobackup {y|n}] [--commandpro‐
       file  ProfileName]  [-d|--debug]  [-h|-?|--help]  [--handlemissingpvs]  [-i|--interval  Seconds]   [-t|--test]
       [-v|--verbose] [--version] LogicalVolume[Path]

DESCRIPTION
       lvpoll  is  an  internal command used by lvmpolld(8) to monitor and complete lvconvert(8) and pvmove(8) opera‐
       tions.  lvpoll itself does not initiate these operations and you should  never  normally  need  to  invoke  it
       directly.

       LogicalVolume  The  Logical  Volume  undergoing conversion or, in the case of pvmove, the name of the internal
       pvmove Logical Volume (see EXAMPLES).

OPTIONS
       See lvm(8) for common options.

       --polloperation {convert|merge|merge_thin|pvmove}
              Mandatory option.  pvmove refers to a pvmove operation that is moving data.  convert refers to an oper‐
              ation  that  is  increasing the number of redundant copies of data maintained by a mirror.  merge indi‐
              cates a merge operation that doesn't involve thin volumes.   merge_thin  indicates  a  merge  operation
              involving thin snapshots.  pvmove(8) and lvconvert(8) describe how to initiate these operations.

       --abort
              Abort pvmove in progress.  See pvmove(8).

       --handlemissingpvs
              Used  when  the  polling  operation needs to handle missing PVs to be able to continue. This can happen
              when lvconvert(8) is repairing a mirror with one or more faulty devices.

       -i, --interval Seconds
              Report progress at regular intervals


EXAMPLES
       Resume polling of a pvmove operation identified by the Logical Volume vg00/pvmove0:

       lvm lvpoll --polloperation pvmove vg00/pvmove0

       Abort the same pvmove operation:

       lvm lvpoll --polloperation pvmove --abort vg00/pvmove0

       To find out the name of the pvmove Logical Volume resulting from an original pvmove /dev/sda1 command you  may
       use the following lvs command.  (Remove the parentheses from the LV name.)

       lvs -a -S move_pv=/dev/sda1

       Resume polling of mirror conversion vg00/lvmirror:

       lvm lvpoll --polloperation convert vg00/lvmirror

       Complete mirror repair:
       lvconvert(8), lvm(8), lvmpolld(8), lvs(8), pvmove(8)



Red Hat, Inc                           LVM TOOLS 2.02.166(2)-RHEL7 (2016-11-16)                             LVPOLL(8)