On 9/15/19 8:45 AM, indivar.nair@techterra.in wrote:
Hi All,
Can we use FSCache or any other caching mechanism to first locally cache an NFS Filesystem, before re-exporting it using NFS-Ganesha?
NFS Server ---> ((NFS Client SSD Cache + NFS Ganesha)) ---> Actual NFS ClientS
I'm not sure. There's definitely issues with exporting an NFS mount via Ganesha (use FSAL_PROXY instead). I'm not sure if the local cache FS will fix those issues. Maybe it's worth trying?
In principal, you can export any FS that is sufficiently like a local POSIX filesystem (which a local NFS mount is not).
There has also been talk in the past of reviving Ganesha's data cache in the form of a stackable FSAL, but that would be a modest development effort and depend on someone prioritizing development time. Frank