Two iSCSI initiators to a single iSCSI target
Posted on 2011-10-24
I am using
1. 2 x RHEL6 (iSCSI initiators A and B) connected to a single MD3000i iSCSI storage.
2. A and B initiators belong to 1 Group
3. no CHAP, no passwords are set.
4. Both initiators A and B
Disk /dev/sdb: 5999.5 GB, 5999582773248 bytes
255 heads, 63 sectors/track, 729407 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 267349 2147480811 83 Linux
4. mount /dev/sdb1 /iscsi
When I make changes on initiator A /iscsi directory,
initiator B does not see any changes and otherwise A does not see changes done by B.
I need to have both initiator to be able to read/write to a single target.
How I can make it happend with all changes being instantly visible by opposite initiator.
Is there any way to manipulate locking mechanism "persistent reservation" .
Thank you very much.