iSCSI – Managing Multiple Initiators for the Same LUN

iscsistorage-area-network

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.*

Best Answer

You need to have some sort of either a clustered file system or distributed lock manager to avoid metadata damage done to your file system with concurrent writes.

There's a good summary of this issue on StarWind forum.

https://forums.starwindsoftware.com/viewtopic.php?f=5&t=1392

Related Topic