On Fri, Nov 12, 2010 at 05:38:32PM +0800, xufeng zhang wrote:
This is the bug description:
When we create a logic volume with long names(such as 125), LVM2 will
return "Name too long" error
and create volume failed. However, you will see it exist in volume group
if you run lvs command.
The reason is that when LVM2 create a empty device in lv_create_empty()
function, it didn't check the
length of device names, but the empty device activate failed afterward
because of too long name(vgname+lvname>128).
Thanks for reporting that.
Presumably 'vgrename' needs a similar restriction.