Linux – How Does The Linux Disk Cache Work With iSCSI and GFS2

disk-cachegfsgfs2linux

I'm planning to share a GFS2 filesystem via iSCSI to my web servers.

Are the files read by my web servers cached locally using the linux disk cache stored in memory or are they only cached on the GFS2 cluster?

Best Answer

If they are opened read-only on each node, they are cached locally. It depends on how the files are lock