archive mirror
 help / color / mirror / Atom feed
From: Oliver Rath <>
Subject: Re: [linux-lvm] new max tag length?
Date: Wed, 10 Jan 2018 17:46:49 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Hi Alasdair,

thank you very much for the hint! But .. (see below)

On 07.01.2018 03:52, Alasdair G Kergon wrote:
> On Sun, Jan 07, 2018 at 02:04:06AM +0100, Oliver Rath wrote:
>> Ive read here, the max length of a tag is 128:
> The original spec for this work remains in the source tree,
> docs/tagging.spec:
> + 1) Tag character set: A-Za-z0-9_+.- 
> +    Can't start with hyphen & max length is 128 (NAME_LEN).

Ive tried much more then 65000 chars and it worked:

# lvchange --addtag `printf 'z%.0s' {1..77777}` levg/testsnap
  Logical volume levg/testsnap changed.

# lvs -o lv_tags levg/testsnap
... [lots of z´s] ...

Its definitly more than 128 characters .. Whats wrong now?


      reply	other threads:[~2018-01-10 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07  1:04 [linux-lvm] new max tag length? Oliver Rath
2018-01-07  2:52 ` Alasdair G Kergon
2018-01-10 16:46   ` Oliver Rath [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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).