]> sourceware.org Git - lvm2.git/commit
pvmove: require LV name in a shared VG
authorDavid Teigland <teigland@redhat.com>
Tue, 19 Sep 2017 18:08:41 +0000 (13:08 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 20 Sep 2017 14:56:51 +0000 (09:56 -0500)
commitf2ee0e7aca6020cf273f22dc5bca20bfa3c89051
tree877c79918c7543aeb20d58130c0287ebf0605790
parent518a8e8cfbb672c2bf5e3455f1fe7cd8d94eb5b0
pvmove: require LV name in a shared VG

In a shared VG, only allow pvmove with a named LV,
so that only PE's used by the LV will be moved.
The LV is then activated exclusively, ensuring that
the PE's being moved are not used from another host.

Previously, pvmove was mistakenly allowed on a full PV.
This won't work when LVs using that PV are active on
other hosts.
WHATS_NEW
lib/metadata/mirror.c
man/lvmlockd.8_main
tools/pvmove.c
This page took 0.038647 seconds and 5 git commands to generate.