* Re: [linux-lvm] Mapping lvol off to pvol off [not found] ` <1414461064.880834.1629220653850@mail.yahoo.com> @ 2021-08-19 2:38 ` Stuart D Gathman 0 siblings, 0 replies; only message in thread From: Stuart D Gathman @ 2021-08-19 2:38 UTC (permalink / raw) To: LVM general discussion and development On Tue, 17 Aug 2021, Chethan Seshadri wrote: > Can someone help to covert an offset within an lvol to the corresponding > pvol offset using... > > 1. lvm commands > 2. lvmdbusd APIs This utility does that: https://github.com/sdgathman/lbatofile See getlv() and getpvmap() https://github.com/sdgathman/lbatofile/blob/master/lbatofile.py Caveat, only tested with classic LVs. Dunno about thin stuff. _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-19 3:00 UTC | newest] Thread overview: (only message) (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1414461064.880834.1629220653850.ref@mail.yahoo.com> [not found] ` <1414461064.880834.1629220653850@mail.yahoo.com> 2021-08-19 2:38 ` [linux-lvm] Mapping lvol off to pvol off Stuart D Gathman
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).