linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
@ 2019-12-08 19:35 Łukasz Czerpak
  2019-12-08 20:47 ` Łukasz Czerpak
  0 siblings, 1 reply; 9+ messages in thread
From: Łukasz Czerpak @ 2019-12-08 19:35 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [linux-lvm] Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505.
@ 2019-12-08 19:30 Łukasz Czerpak
  0 siblings, 0 replies; 9+ messages in thread
From: Łukasz Czerpak @ 2019-12-08 19:30 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-12-09 14:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-08 19:35 [linux-lvm] Thin pool vg1-thinpool1-tpool (253:3) transaction_id is 549, while expected 505 Łukasz Czerpak
2019-12-08 20:47 ` Łukasz Czerpak
2019-12-09 13:36   ` Zdenek Kabelac
2019-12-09 13:50     ` Łukasz Czerpak
2019-12-09 13:52       ` Łukasz Czerpak
2019-12-09 13:59       ` Zdenek Kabelac
2019-12-09 14:18         ` Łukasz Czerpak
2019-12-09 14:25           ` Zdenek Kabelac
  -- strict thread matches above, loose matches on Subject: below --
2019-12-08 19:30 Łukasz Czerpak

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).