[lvm-devel] lvm2-api usage in GlusterFS

M. Mohan Kumar mohan at in.ibm.com
Wed Jul 4 17:54:02 UTC 2012


On Wed, 4 Jul 2012 18:41:48 +0100, Alasdair G Kergon <agk at redhat.com> wrote:
> On Wed, Jul 04, 2012 at 11:02:11PM +0530, M.Mohan Kumar wrote:
> > When open request comes in the gluster mount path, server side code
> > opens the intended LV by using this logic: /dev/<vg-name>/<lv-name>.
> > This path is actually a symbolic link to /dev/dm-<x>. Is my assumption
> > about having this /dev/<vg-name>/<lv-name> is it right? Will it
> > always work?
> 
> That is the right link to use as it depends only on the VG name and the LV
> name.
> 
> The /dev/mapper and /dev/dm-N entries might change.

Thanks Alasdair.

Do you have any idea about plan to add api support to resize lv and
create snapshot LVs?




More information about the lvm-devel mailing list