[stgt] Help: Data Synchronization Problem

Lee Eric openlinuxsource at gmail.com
Thu May 5 18:14:50 CEST 2011


There are 3 initiators to access the iSCSI target. The targets.conf
shown in below.

default-driver iscsi

<target iqn.2011-05.internal.herdingcat:storage.lvm1>
    backing-store /dev/iscsi/hpc_storage_lvm
    write-cache off

I executed following command and got tgtadm output.

[root at storage ~]# tgt-admin -e -v
# Adding target: iqn.2011-05.internal.herdingcat:storage.lvm1
tgtadm --lld iscsi --op new --mode target --tid 1 -T
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b
tgtadm --lld iscsi --op update --mode logicalunit --tid 1 --lun=1
--params mode_page=8:0:18:0x10:0:0xff:0xff:0:0:0xff:0xff:0xff:0xff:0x80:0x14:0:0:0:0:0:0
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL

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?

Thanks very much.


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 mailing list