[lvm-devel] lvm2-api usage in GlusterFS
Alasdair G Kergon
agk at redhat.com
Wed Jul 4 17:41:48 UTC 2012
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.
Alasdair
More information about the lvm-devel
mailing list