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 [thread overview]
Message-ID: <20101112100604.GF28062@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <4CDD0B18.8060200@windriver.com>
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
next prev parent reply other threads:[~2010-11-12 10:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 9:38 [linux-lvm] Bug: LVM2 create long name device failed but we can see it by run lvs xufeng zhang
2010-11-12 10:06 ` Alasdair G Kergon [this message]
2010-11-13 7:34 ` xufeng zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101112100604.GF28062@agk-dp.fab.redhat.com \
--to=agk@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=xufeng.zhang@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).