Answer the question
In order to leave comments, you need to log in
Problems with iSCSI?
Hello.
Installed StarWind iSCSI SAN - Free Edition. I created a target, but since the free version does not allow you to use a physical disk, I created a virtual one.
Using the initiators built into Windows, I connected an iSCSI disk on 2 computers. Having tried to write something to a disk, I noticed that the disk space is consumed, but the recorded information is not displayed on this disk from another computer.
First of all, I thought that this could be such a feature of iSCSI. But I couldn't find anything about it.
Please tell me what is the reason and how to ensure the normal operation of iSCSI?
Answer the question
In order to leave comments, you need to log in
What is the file system?
For the same disk to be accessible from multiple connections, the disk must have a clustered file system.
Read the materiel, how should ntfs know that something was written to it on another computer?
If you're looking for a clustered file system supported by Windows, take a look at Sanbolic Melio FS.
Of course, they didn’t tell you about cluster fs? GFS2 or is there OCFS2?
This is not an “iSCSI feature”, this is a feature of accessing a block device in general, using any protocol. Someone has to be the manager, keeping track of the writes and notifying the hosts using the device of this (otherwise the hosts won't know anything about each other and won't be able to maintain FS integrity when writing).
In the case of a NAS and its protocols (CIFS/SMB, NFS), such an arbiter is the OS of that NAS itself. In the case of a block protocol, there is no default arbiter.
There are special cluster file systems that solve this problem. But this is not a sloppy solution.
In general, take it for granted: Despite the fact that a block device can be connected simultaneously to different servers via the iSCSI protocol, you cannot do this (without installing a cluster FS).
Solutions:
1. Change the decision, do not connect more than one host per entry to the same iSCSI device.
2. Do not use block protocols, but use file protocols (NAS)
2. Install a clustered file system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question