[linux-lvm] Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.

Łukasz Czerpak lukasz.czerpak at gmail.com
Sun Dec 8 19:35:52 UTC 2019


Hi,

I cannot get my LVM working. 

The structure is as follows:

vg1 -> thinpool1 -> 11x lvs

I extended size of one of child LVs, after that ran xfs_growfs which got stuck. After 1hr I did cold reboot and thinpool reported the following:

$ lvchange -ay vg1
 WARNING: Not using lvmetad because a repair command was run.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
 Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.


I tried lvconvert —repair vg1/thinpool1 but it always throws transaction id mismatch error:

$ lvconvert --repair vg1/thinpool1
 WARNING: Disabling lvmetad cache for repair command.
 WARNING: Not using lvmetad because of repair.
 Transaction id 505 from pool "vg1/thinpool1" does not match repaired transaction id 549 from /dev/mapper/vg1-lvol2_pmspare.
 WARNING: LV vg1/thinpool1_meta3 holds a backup of the unrepaired metadata. Use lvremove when no longer required.
 WARNING: New metadata LV vg1/thinpool1_tmeta might use different PVs.  Move it with pvmove if required.

I have no idea on how to proceed and more importantly *how to access/recover data in LVs*. I desperately looking for any help :(

—
Best regards,
Łukasz Czerpak







More information about the linux-lvm mailing list