On 17/09/14 19:21, J. Roeleveld wrote:
> AFS has caching and can survive temporary disappearance of the server.
> For me, I need to be able to provide Samba filesharing on top of that
> layer on 2 different locations as I don't see the network bandwidth to
> be sufficient for normal operations. (ADSL uplinks tend to be dead
> slow) -- Joost 
Riverbed wan appliances were always great for this.  I would have loved
to see an open source version of their hash-zip-send as it worked
amazingly well.
however, from [1] you can mount.cifs with option fsc, and perhaps (sorry
not tried myself) then use something like cachefs to make for a
controlled size and location for that cache?   also [2] might be of
interest to you

"
  fsc        Enable local disk caching using FS-Cache (off by default). This
          option could be useful to improve performance on a slow link,
        heavily loaded server and/or network where reading from the
        disk is faster than reading from the server (over the network).
        This could also impact scalability positively as the
        number of calls to the server are reduced. However, local
        caching is not suitable for all workloads for e.g. read-once
        type workloads. So, you need to consider carefully your
        workload/scenario before using this option. Currently, local
        disk caching is functional for CIFS files opened as read-only.
"


[1] https://www.kernel.org/doc/readme/Documentation-filesystems-cifs-README
[2]
http://www.cyberciti.biz/faq/centos-redhat-install-configure-cachefilesd-for-nfs/

Reply via email to