Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-119277

Detected error segment type does not match expected type striped (shouldn't expected be linear)

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • lvm2
    • None
    • No
    • None
    • rhel-storage-lvm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      "WARNING: Detected error segment type does not match expected type striped for /_tdata"

      When detecting an error'ed _tdata volume, lvm warns that the segment type does not match expected type 'striped', but the _tdata would never be a 'striped' type and would always be 'linear'. Sure the -tpool volume may use striping with the data and meta, but it still lists a type of 'thin-pool' in that case.

      1. An actual striped table:
        thinpool_sanity-my_stripe: 0 221184 striped 3 128 8:0 58843136 8:16 8192 8:32 8192
      1. Various thinpool tables:
        thinpool_sanity-thin_pool-tpool: 0 58720256 thin-pool 253:2 253:3 128 137625 0
        thinpool_sanity-thin_pool_tmeta: 0 57344 linear 8:0 8192
        thinpool_sanity-thin_pool_tdata: 0 58720256 linear 8:0 65536
      kernel-6.12.0-126.el10    BUILT: Thu Sep  4 05:53:31 PM CEST 2025
      lvm2-2.03.35-1.el10    BUILT: Wed Sep 10 05:00:31 PM CEST 2025
      lvm2-libs-2.03.35-1.el10    BUILT: Wed Sep 10 05:00:31 PM CEST 2025
       
       
      [root@virt-496 ~]# lvs -a -o +devices
        WARNING: Detected error segment type does not match expected type striped for thinpool_sanity/thin_pool_tdata.
        LV                VG              Attr       LSize   Pool      Origin  Data%  Meta%  Move Log Cpy%Sync Convert Devices           
        [lvol0_pmspare]   thinpool_sanity ewi-------  28.00m                                                           /dev/sda(0)       
        thin_lv           thinpool_sanity Vwi-a-tz-- 160.00g thin_pool         0.23                                                      
        thin_pool         thinpool_sanity twi-aotz--  28.00g                   1.33   11.08                            thin_pool_tdata(0)
        [thin_pool_tdata] thinpool_sanity Twi-XX--X-  28.00g                                                           /dev/sda(7)       
        [thin_pool_tmeta] thinpool_sanity ewi-ao----  28.00m                                                           /dev/sdf(0)       
        virtsnap1         thinpool_sanity Vwi-a-tz-- 160.00g thin_pool thin_lv 0.14                                                      
       
      [root@virt-496 ~]# dmsetup table
      thinpool_sanity-thin_lv: 0 335544320 thin 253:4 1
      thinpool_sanity-thin_pool: 0 58720256 linear 253:4 0
      thinpool_sanity-thin_pool-tpool: 0 58720256 thin-pool 253:2 253:3 128 137625 0 
      thinpool_sanity-thin_pool_tdata: 0 58720256 error 
      thinpool_sanity-thin_pool_tmeta: 0 57344 linear 8:80 8192
      thinpool_sanity-virtsnap1: 0 335544320 thin 253:4 2
       
      [root@virt-496 ~]# vgchange -an thinpool_sanity
        0 logical volume(s) in volume group "thinpool_sanity" now active
      [root@virt-496 ~]# lvconvert --yes --repair /dev/thinpool_sanity/thin_pool
        WARNING: Sum of all thin volume sizes (320.00 GiB) exceeds the size of thin pools and the size of whole volume group (<209.98 GiB).
        WARNING: LV thinpool_sanity/thin_pool_meta0 holds a backup of the unrepaired metadata. Use lvremove when no longer required.
        WARNING: New metadata LV thinpool_sanity/thin_pool_tmeta might use different PVs.  Move it with pvmove if required.
       
      [root@virt-496 ~]# vgchange -ay thinpool_sanity
        4 logical volume(s) in volume group "thinpool_sanity" now active
      [root@virt-496 ~]# dmsetup table
      thinpool_sanity-thin_lv: 0 335544320 thin 253:4 1
      thinpool_sanity-thin_pool: 0 58720256 linear 253:4 0
      thinpool_sanity-thin_pool-tpool: 0 58720256 thin-pool 253:2 253:3 128 137625 0 
      thinpool_sanity-thin_pool_meta0: 0 57344 linear 8:80 8192
      thinpool_sanity-thin_pool_tdata: 0 58720256 linear 8:0 65536
      thinpool_sanity-thin_pool_tmeta: 0 57344 linear 8:0 8192
      thinpool_sanity-virtsnap1: 0 335544320 thin 253:4 2
      

              lvm-team lvm-team
              cmarthal@redhat.com Corey Marthaler
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: