All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Thin dump errors on snapshot of lvm metadata
@ 2015-11-24 16:03 shankha
  2015-11-24 18:40 ` shankha
  0 siblings, 1 reply; 3+ messages in thread
From: shankha @ 2015-11-24 16:03 UTC (permalink / raw)
  To: linux-lvm

I am trying to run thin dump on the snapshot of lvm thin pool metadata.

The commands used to generate the snapshot and take the thin dump output are:

dmsetup message /dev/mapper/VG-POOL-tpool 0 reserve_metadata_snap
block_no=`dmsetup status /dev/mapper/VG-POOL-tpool | cut -f 7 -d " "`

thin_dump -f xml /dev/mapper/VG-POOL_tmeta -m $block_no

dmsetup message /dev/mapper/VG-POOL-tpool 0 release_metadata_snap

While creating the snapshot I am dumping data to the thin volume.

The error message I get is:
"metadata contains errors (run thin_check for details).
perhaps you wanted to run with --repair"

Is there something wrong with the way I am using the commands ?

Thanks

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

end of thread, other threads:[~2015-11-24 19:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 16:03 [linux-lvm] Thin dump errors on snapshot of lvm metadata shankha
2015-11-24 18:40 ` shankha
2015-11-24 19:11   ` shankha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.