1LVPOLL(8) System Manager's Manual LVPOLL(8)
2
3
4
6 lvpoll — Internal command used by lvmpolld to complete some Logical
7 Volume operations.
8
9
11 lvm lvpoll --polloperation {pvmove|convert|merge|merge_thin} [--abort]
12 [-A|--autobackup {y|n}] [--commandprofile ProfileName] [-d|--debug]
13 [-h|-?|--help] [--handlemissingpvs] [-i|--interval Seconds] [-t|--test]
14 [-v|--verbose] [--version] LogicalVolume[Path]
15
17 lvpoll is an internal command used by lvmpolld(8) to monitor and com‐
18 plete lvconvert(8) and pvmove(8) operations. lvpoll itself does not
19 initiate these operations and you should never normally need to invoke
20 it directly.
21
22 LogicalVolume The Logical Volume undergoing conversion or, in the case
23 of pvmove, the name of the internal pvmove Logical Volume (see EXAM‐
24 PLES).
25
27 See lvm(8) for common options.
28
29 --polloperation {convert|merge|merge_thin|pvmove}
30 Mandatory option. pvmove refers to a pvmove operation that is
31 moving data. convert refers to an operation that is increasing
32 the number of redundant copies of data maintained by a mirror.
33 merge indicates a merge operation that doesn't involve thin vol‐
34 umes. merge_thin indicates a merge operation involving thin
35 snapshots. pvmove(8) and lvconvert(8) describe how to initiate
36 these operations.
37
38 --abort
39 Abort pvmove in progress. See pvmove(8).
40
41 --handlemissingpvs
42 Used when the polling operation needs to handle missing PVs to
43 be able to continue. This can happen when lvconvert(8) is
44 repairing a mirror with one or more faulty devices.
45
46 -i, --interval Seconds
47 Report progress at regular intervals
48
49
51 Resume polling of a pvmove operation identified by the Logical Volume
52 vg00/pvmove0:
53
54 lvm lvpoll --polloperation pvmove vg00/pvmove0
55
56 Abort the same pvmove operation:
57
58 lvm lvpoll --polloperation pvmove --abort vg00/pvmove0
59
60 To find out the name of the pvmove Logical Volume resulting from an
61 original pvmove /dev/sda1 command you may use the following lvs com‐
62 mand. (Remove the parentheses from the LV name.)
63
64 lvs -a -S move_pv=/dev/sda1
65
66 Resume polling of mirror conversion vg00/lvmirror:
67
68 lvm lvpoll --polloperation convert vg00/lvmirror
69
70 Complete mirror repair:
71
72 lvm lvpoll --polloperation convert vg/damaged_mirror --handlemissingpvs
73
74 Process snapshot merge:
75
76 lvm lvpoll --polloperation merge vg/snapshot_old
77
78 Finish thin snapshot merge:
79
80 lvm lvpoll --polloperation merge_thin vg/thin_snapshot
81
83 lvconvert(8), lvm(8), lvmpolld(8), lvs(8), pvmove(8)
84
85
86
87Red Hat, Inc LVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13) LVPOLL(8)