All of lore.kernel.org
 help / color / mirror / Atom feed
* lvm2-api usage in GlusterFS
@ 2012-07-04 17:32 M.Mohan Kumar
  2012-07-04 17:41 ` Alasdair G Kergon
  2012-07-04 20:57 ` Alasdair G Kergon
  0 siblings, 2 replies; 6+ messages in thread
From: M.Mohan Kumar @ 2012-07-04 17:32 UTC (permalink / raw)
  To: lvm-devel


Hello,

I am working on adding a GlusterFS feature to enable exporting Logical
volumes as regular files to GlusterFS client. Here is the link for the
patches:
       http://review.gluster.com/3551

GlusterFS patches use lvm2-devel library to find out list of logical
volumes for the given volume group and creating LVs etc.

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?

Also other issues with the patch is resizing and creating a snapshot
of LV. There is no API to resize a LV and as of now I am using the
lvresize binary to resize the LV by forking and executing it. Also when
creating a snapshot of LV, I am forking and executing lvcreate binary
with appropriate parameters.

Is there any plan to add support to resize a LV and create snapshot of
LV?

Regards,
M. Mohan Kumar.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-27 18:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 17:32 lvm2-api usage in GlusterFS M.Mohan Kumar
2012-07-04 17:41 ` Alasdair G Kergon
2012-07-04 17:54   ` M. Mohan Kumar
2012-07-04 20:57 ` Alasdair G Kergon
2012-08-24  7:22   ` M. Mohan Kumar
2012-08-27 18:23     ` M. Mohan Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.