Can Apache Read The GlusterFS Brick Directly But Write To The GlusterFS Mount?
Solution 1:
If you write directly, it will not be replicated through glusterfs. If you read directly, you run the risk of your repair not working correctly if your drive fails. When you read a file, it checks the metadata, and if the file doesn't exist locally, replicates it rather than replicating the filesystem when the drive is brought online.
If those files are created regularly, can you write them to a non-distributed mount and use that for the files?
You can do what you want, but, it'll probably break in some very odd ways. One scenario would be if you modify a file on one node, the other node wouldn't know that the metadata changed and would read the old file. You might stop by the GlusterFS mailing list, they are extremely helpful.