From mboxrd@z Thu Jan 1 00:00:00 1970 From: M. Mohan Kumar Date: Wed, 04 Jul 2012 23:24:02 +0530 Subject: lvm2-api usage in GlusterFS In-Reply-To: <20120704174148.GJ22022@agk-dp.fab.redhat.com> References: <87txxnqvok.fsf@in.ibm.com> <20120704174148.GJ22022@agk-dp.fab.redhat.com> Message-ID: <87r4srquo5.fsf@in.ibm.com> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, 4 Jul 2012 18:41:48 +0100, Alasdair G Kergon 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//. > > This path is actually a symbolic link to /dev/dm-. Is my assumption > > about having this /dev// 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?