linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Request for Feature: Disk space usage by a LVM snapshot
@ 2015-11-23 16:47 shankha
  2015-11-24 11:20 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: shankha @ 2015-11-23 16:47 UTC (permalink / raw)
  To: linux-lvm

Hi,

Goal: We are trying to calculate actual disk usage of  LVM Snapshots
created from a thin logical volume.

Method:
Currently we use thin_dump to dump metadata information of all the LVM
snapshots and logical volumes.

Check what are the blocks unique to the snapshot and that gives you
the size of the snapshot.

The problem is while one is dumping data on the snapshot the metadata
information which you get from thin dump is incorrect. That is what I noticed.
Sometimes the tool will fail and it will ask you to repair your lvm metadata.

---
Is there a way we can have a separate tool which will give us the disk
usage of a LVM Snapshot.


Thanks for all your help.

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 16:47 [linux-lvm] Request for Feature: Disk space usage by a LVM snapshot shankha
2015-11-24 11:20 ` Zdenek Kabelac

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