This is bug in for_each_sub_lv() logic in lv_manip code for thin pool rename
While for renaming pool - multiple LV must be renamed, for thin volume this is not the case.
(In reply to comment #1)
> What about the other form of the command - does that work or fail?
>
> lvrename tsvg/lv1 lv3
Still failed.
[root@laker T1]# lvrename tsvg/lv1 lv2
lvrename Cannot rename "lv1": name format not recognized for internal LV "pool"
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.# lvs tsvg lvs LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lvs lv1 tsvg Vwi-a-tz 100.00m pool 0.00 lvs lv2 tsvg Vwi-a-tz 100.00m pool 0.00 lvs pool tsvg twi-a-tz 4.00m 0.00 # lvrename tsvg lv1 lv3 lvrename Cannot rename "lv1": name format not recognized for internal LV "pool1" 2. 3. Actual results: Expected results: Additional info: