gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] [PATCH 2/2] vfs_glusterfs: Samba VFS module for glus


From: Anand Avati
Subject: Re: [Gluster-devel] [PATCH 2/2] vfs_glusterfs: Samba VFS module for glusterfs
Date: Wed, 24 Apr 2013 02:52:25 -0700

On Apr 24, 2013, at 2:46 AM, Amar Tumballi <address@hidden> wrote:

> On 04/24/2013 01:58 PM, Anand Avati wrote:
>> Implement a Samba VFS plugin for glusterfs based on gluster's gfapi.
>> This is a "bottom" vfs plugin (not something to be stacked on top of
>> another module), and translates (most) calls into closest actions
>> on gfapi.
>> 
>> Signed-off-by: Anand Avati <address@hidden>
>> ---
>>  source3/Makefile.in             |    5 +
>>  source3/configure.in            |    9 +
>>  source3/modules/vfs_glusterfs.c | 1186 
>> +++++++++++++++++++++++++++++++++++++++
>>  source3/modules/wscript_build   |    9 +
>>  source3/wscript                 |    6 +
>>  5 files changed, 1215 insertions(+), 0 deletions(-)
>>  create mode 100644 source3/modules/vfs_glusterfs.c
>> 
> 
> an idea of how to write smb.conf section, which would use glusterfs's vfs 
> plugin would help me to test and verify the patch. Can you add a example 
> section to examples/smb.conf.default file as comment?
> 
> Regards,
> Amar


Like this:

--snip--

[export_name]
vfs objects = glusterfs
glusterfs:volfile_server = MOUNT-SERVER # defaults to localhost
glusterfs:volume = VOLUME-NAME
path = / # specifying a path will export that subdirectory in the volume instead

--snip--

Note that you will need to install both glusterfs and glusterfs (with these 2 
patches) from git.

Avati




reply via email to

[Prev in Thread] Current Thread [Next in Thread]