Skip to main content

ISCSI, multiple initiaros for the same lun [Resolved]

i have already asked question regarding ISCSI and after reading about for a while i came up with few questions.

I have a web application that is distributed over 3 servers. this 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.

I researched this question and it turns out i would need an actual filesystem on this luns in order to function as i am intending to use it.

Can any one direct me to a source which explains me how does it work, and how to implement a file system for the LUN.

OS Used: Ubuntu 16.* or 18.*

Big thanks in advance


Question Credit: Anton Stafeyev
Question Reference
Asked July 21, 2019
Posted Under: Network
23 views
2 Answers

Generally speaking, you need a cluster in order to share storage between multiple systems (unless you want one of them to act as a file server).

I don't actually know anything about building clusters on Ubuntu, but this looks promising: http://manpages.ubuntu.com/manpages/cosmic/man7/ocfs2.7.html.


credit: Massimo
Answered July 21, 2019

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


credit: BaronSamedi1958
Answered July 21, 2019
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA