[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Bug: LVM2 create long name device failed but we can see it by run lvs
- From: Alasdair G Kergon <agk redhat com>
- To: xufeng zhang <xufeng zhang windriver com>
- Cc: linux-lvm redhat com
- Subject: Re: [linux-lvm] Bug: LVM2 create long name device failed but we can see it by run lvs
- Date: Fri, 12 Nov 2010 10:06:04 +0000
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.
Alasdair
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]