[linux-lvm] lvresize cannot refresh LV size on on other hosts when extending LV with a shared lock

David Teigland teigland at redhat.com
Tue Sep 29 14:02:30 UTC 2020


On Tue, Sep 29, 2020 at 08:46:25AM +0000, Gang He wrote:
> ghe-tw-nd1# lvresize -L+1024M vg1/lv1
>   WARNING: extending LV with a shared lock, other hosts may require LV refresh.
>   Size of logical volume vg1/lv1 changed from 13.00 GiB (3328 extents) to 14.00 GiB (3584 extents).
>   Logical volume vg1/lv1 successfully resized.
>   Refreshing LV /dev//vg1/lv1 on other hosts...

Triggering remote lvchange refresh for lvresize has been implemented using
dlm_controld.  See configure --enable-lvmlockd-dlmcontrol which enables
lvmlockd to use the libdlmcontrol api dlmc_run_start/dlm_run_check.
Dave




More information about the linux-lvm mailing list