[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] liblvm IOCTL/sysfs interface
- From: Larry Dickson <ldickson cuttedge com>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] liblvm IOCTL/sysfs interface
- Date: Thu, 19 Mar 2009 06:15:55 -0800
Location as well as size is given by
lvdisplay --maps
Larry Dickson
Cutting Edge Networked Storage
On 3/19/09, Bryn M. Reeves <bmr redhat com> wrote:
On Thu, 2009-03-19 at 17:01 +0530, Sandeep K Sinha wrote:
> So, I should see the information like.
>
> lvol0
> vg
> target1 - /dev/sda5 ---- 0 -- 10000 ( BEGIN -- Length )
> target2 - /dev/sda6 ---- 10001 -- 4000
dmsetup table
>
> We do maintain these informations inside the kernel, We should atleast
> have an ioctl or sysfs based interface to extract
> these information.
>
> Liblvm is under development, won't it be of a good use to provide such
> a functionality.
This is a lower level than liblvm targets (liblvm will work in terms of
"LVM level" objects; pvs, vgs, lvs). The functionality to observe and
manipulate the targets used by a specific LVM device is already provided
by libdevmapper and the dmsetup tool.
Regards,
Bryn.
_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]