[Gluster-devel] pNFS server for FreeBSD using GlusterFS

Rick Macklem rmacklem at uoguelph.ca
Mon Apr 25 12:08:37 UTC 2016



----- Original Message -----
> CCing ganesha list
> 
> On 22/04/16 04:18, Rick Macklem wrote:
> > Jiffin Tony Thottan wrote:
> >>
> >> On 21/04/16 04:43, Rick Macklem wrote:
> >>> Hi,
> >>>
> >>> Just to let you know, I did find the email responses to my
> >>> queries some months ago helpful and I now have a pNFS server
> >>> for FreeBSD using the GlusterFS port at the alpha test stage.
> >>> So far I have not made any changes to GlusterFS except the little
> >>> poll() patch that was already discussed on this list last December.
> >>>
> >>> Anyhow, if anyone is interested in taking a look at this,
> >>> I have a primitive document at:
> >>>     http://people.freebsd.org/~rmacklem/pnfs-setup.txt
> >>> that will hopefully give you a starting point.
> >>>
> >>> Thanks to everyone that helped via email a few months ago, rick
> >> Hi Rick,
> >>
> >> Awesome some work man. You have cracked Flexfile layout for gluster
> >> volume.
> >>
> >> I still wondering why you picked knfs instead of nfs-ganesha?
> > I don't believe that ganesha will be ported to FreeBSD any time soon. If it
> 
> I believe the support is already there. CCing ganesha list to confirm
> the same.
> 
Well, here is a snippet from the v2.1 release notes. It mentions FreeBSD support
that is being removed. Later versions (the current is v2.3) have no mention of
FreeBSD, so I assume they dropped it as planned. (Maybe I should have said
"won't be ported again any time soon" instead of "will be ported ...any time soon".):

  The primary platform for NFS-Ganesha is Linux. Any kernel later than 2.6.39 is required to fully support the VFS FSAL. This requirement does not apply to
  configurations using other FSALs. We have not recently tested with kernels older than 3.8 but that should not be a problem for users with currently supported
  Linux distributions.

  There are build time options and source code in the codebase that would indicate FreeBSD support. However, the server takes advantage of some
  advanced capabilities of the threads model in Linux kernels that are not available on FreeBSD. FreeBSD support will probably be dropped
  as of V2.2 because there is no current active development of equivalents for FreeBSD.

rick

> > is ported, that would be an alternative for FreeBSD users to consider.
> > (I work on the kernel nfsd as a hobby, so I probably wouldn't do this
> > myself.)
> >
> >> There will
> >> lot of context switches
> >> between kernel space and user space which may effect the metadata
> >> performance.
> > Yes, I do see a lot of context switches.
> >
> > rick
> >
> >> I still remembering the discussion[1] in which I mentioned to use
> >> ganesha server as MDS.
> >> And usually gluster volume won't export using knfs.
> >>
> >> --
> >> Jiffin
> >>
> >>> _______________________________________________
> >>> Gluster-devel mailing list
> >>> Gluster-devel at gluster.org
> >>> http://www.gluster.org/mailman/listinfo/gluster-devel
> >>
> 
> 


More information about the Gluster-devel mailing list