Re: new max tag length?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux