You are not logged in.

#1 2022-08-27 06:40:44

cdwijs
Member
Registered: 2010-04-24
Posts: 289

A NAS and 2 PC's, howto use the local ssd as cache?

Hi all,

I would like to store my files on a NAS, and then access the files from 2 PC's. The classic way to do this is like this:

NAS with about 2TB of data
| SAMBA
network switch
|
2 Linux PC's
|
Client program

In this setup, each read and write access causes network traffic (except for a very small read cache in the RAM of the Linux PC's). While the network can be fast, it will never be faster than reading and writing to an SSD in the PC. Therefore I would like to build the following setup:

NAS with about 2TB of data
| some protocol
network switch
| 
2 Linux PC's
|
Internal 500MB SSD as cache
|
Client program

How can this be done?

Kind regards,
Cedric

Offline

#2 2022-08-27 08:15:45

mpan
Member
Registered: 2012-08-01
Posts: 1,207
Website

Re: A NAS and 2 PC's, howto use the local ssd as cache?

I use neither of those, but you may try your luck with fsc mount option and cachefilesd (cachefilesd PKGBUILD is maintained by grawity in AUR).


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

Board footer

Powered by FluxBB