<div>Location as well as size is given by</div>
<div> </div>
<div>lvdisplay --maps</div>
<div> </div>
<div>Larry Dickson</div>
<div>Cutting Edge Networked Storage<br> </div>
<div><span class="gmail_quote">On 3/19/09, <b class="gmail_sendername">Bryn M. Reeves</b> <<a href="mailto:bmr@redhat.com">bmr@redhat.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thu, 2009-03-19 at 17:01 +0530, Sandeep K Sinha wrote:<br>> So, I should see the information like.<br>
><br>> lvol0<br>> vg<br>> target1 - /dev/sda5 ----  0 -- 10000 ( BEGIN  -- Length )<br>> target2 - /dev/sda6 ----  10001 -- 4000<br><br>dmsetup table<br><br>><br>> We do maintain these informations inside the kernel, We should atleast<br>
> have an ioctl or sysfs based interface to extract<br>> these information.<br>><br>> Liblvm is under development, won't it be of a good use to provide such<br>> a functionality.<br><br>This is a lower level than liblvm targets (liblvm will work in terms of<br>
"LVM level" objects; pvs, vgs, lvs). The functionality to observe and<br>manipulate the targets used by a specific LVM device is already provided<br>by libdevmapper and the dmsetup tool.<br><br>Regards,<br>Bryn.<br>
<br><br>_______________________________________________<br>linux-lvm mailing list<br><a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a><br></blockquote></div><br>