I have a web application that is distributed over 3 servers. These 3 servers need a shared storage to access files. Since iSCSI is just a protocol, not a filesystem, it will not have any implementation of locking files; so if I just connect it as it is, I will just destroy all of the data.
According to my research, I would need an actual filesystem on these LUNs in order to function as I intend to use it.
How would that work? How can I implement a file system for the LUN?
OS Used: Ubuntu 16.* or 18.*