[stgt] Help: Data Synchronization Problem
openlinuxsource at gmail.com
Thu May 5 18:27:04 CEST 2011
Thanks mate. Yes, I'm trying to access a normal filesystem (lext4)
from many clients at the same time. Actually I'm going to build a HPC
cluster so I wanna let clients can read data from the storage like
traditional NFS share. So is there any way to achieve that like in NFS
On Fri, May 6, 2011 at 12:19 AM, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> On 05.05.2011 18:14, Lee Eric wrote:
>> When any initiator logs in this target, it seems the data in this
>> target is not synchronous for initiator clients. For example, if an
>> initiator client touches a file, other initiators cannot view the
>> existence of that file by using ls.
>> The OS is Fedora 14 x86_64 arch. Software initiator is
>> scsi-target-utils-1.0.1-3.fc13.x86_64 and initiator is
>> Could anyone tell me how to fix that problem?
> It seems to me you're trying to access a normal filesystem (like ext4) from
> many clients at the same time?
> It won't work, and you'll severely corrupt your filesystem by doing that.
> If you really, really know what you're doing (seems you don't!), i.e. other
> clients are accessing the target readonly (note - the target, not mounting
> the filesystem readonly - this may still cause writes, i.e. journal reply,
> and corrupt the fs), you may "see" the files by syncing data on the
> initiator which made the write (or, possibly mounting the fs "sync").
> Tomasz Chmielewski
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt