Re: [linux-lvm] Mapping lvol off to pvol off

2021-08-18 Thread Stuart D Gathman

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/



[linux-lvm] Mapping lvol off to pvol off

2021-08-18 Thread Chethan Seshadri
Hi,
Can someone help to covert an offset within an lvol to the corresponding pvol 
offset using...
1. lvm commands2. lvmdbusd APIs
Thanks,Chethan___
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/