[Gluster-users] Ganesha exports access restrictions and Posix ACLs support
Alessandro De Salvo
Alessandro.DeSalvo at roma1.infn.it
Wed Jun 17 18:12:16 UTC 2015
Great, many thanks Soumya!
> Il giorno 17/giu/2015, alle ore 19:43, Soumya Koduri <skoduri at redhat.com> ha scritto:
> On 06/17/2015 10:59 PM, Alessandro De Salvo wrote:
>> Thanks Soumya!
>> I was hoping to have something more automatic :-) Is it in the pipeline?
> yes. Infact we are currently working on it, will be available soon.
>> Thanks again,
>>> Il giorno 17/giu/2015, alle ore 18:21, Soumya Koduri <skoduri at redhat.com> ha scritto:
>>> Hi Alessandro,
>>> Response inline.
>>> On 06/17/2015 08:07 PM, Alessandro De Salvo wrote:
>>>> I do not seem to be able to find an option to automatically add the gluster volume restrictions I can put with auth.allow into a ganesha export.
>>>> As far as I have understood this can be done by using a default Access_type = None in the export and then adding one or more CLIENT block for the specific hosts. However, setting ganesha.enable to a gluster volume, does create an export with default Access_type = RW and no client block, and as a result the export is world Readable and Writable. Is there anything I’m missing or is the feature not yet supported?
>>>> The same holds for the Posix ACLs, the automatically created export file has them disabled, and I did not find any option to enable them from the gluster CLI.
>>> you are right. CLI exports the volume with only certain default export parameters. For any change in those export options, do the following
>>> step 1) Edit the export_file for that volume in the path "/etc/ganesha/exports/"
>>> step 2) use 'refresh_config' option of the ganesha-ha.sh script available at '/usr/libexec/ganesha/' (which is under development at present). Meanwhile , use dbus-commands to unexport and re-export the volumes.
>>> dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.RemoveExport uint16:<export_id_of_the_volume>
>>> dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:/<path-to-export-file> string:"EXPORT(Path=/<volname>)"
>>>> Gluster-users mailing list
>>>> Gluster-users at gluster.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1770 bytes
Desc: not available
More information about the Gluster-users