vgrename doesn't work properly without refreshing cache (clvmd -R) # clvmd -R # lvchange -a n vg_bar/lv3 # vgrename vg_bar vg_bar1 Volume group "vg_bar" successfully renamed to "vg_bar1" # vgs VG #PV #LV #SN Attr VSize VFree vg_bar1 4 4 0 wz--nc 399.98G 399.91G # lvchange -a y vg_bar1/lv3 Error locking on node bar-01: Volume group for uuid not found: zX0qcpeD9um1FqePa7fZweGlUWs80lWucDmIanTFxtVKRlkDiFScxSI6oX54v6nr Error locking on node bar-03: Volume group for uuid not found: zX0qcpeD9um1FqePa7fZweGlUWs80lWucDmIanTFxtVKRlkDiFScxSI6oX54v6nr Error locking on node bar-02: Volume group for uuid not found: zX0qcpeD9um1FqePa7fZweGlUWs80lWucDmIanTFxtVKRlkDiFScxSI6oX54v6nr # rpm -q lvm2 lvm2-2.02.36-1.el4 From code: /* FIXME lvmcache corruption - vginfo duplicated instead of renamed */ persistent_filter_wipe(cmd->filter); lvmcache_destroy(cmd, 1); Missing cache invalidation on remote nodes?
Fixed in lvm2-2.02.37-1.el4
This fix has been verified in lvm2-2.02.37-3.el4.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0776.html