linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Oliver Rath <rath@mglug.de>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] new max tag length?
Date: Wed, 10 Jan 2018 17:46:49 +0100	[thread overview]
Message-ID: <e2a1c0d5-edd6-cd94-ce7d-2341f4178c49@mglug.de> (raw)
In-Reply-To: <20180107025221.GC4551@agk-dp.fab.redhat.com>

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:
>> https://www.suse.com/documentation/sles11/stor_admin/data/lvmtagging.html
> 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?

Regards,
Oliver

      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:
  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=e2a1c0d5-edd6-cd94-ce7d-2341f4178c49@mglug.de \
    --to=rath@mglug.de \
    --cc=linux-lvm@redhat.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).