i have an iscsi target disk with only one ext3 partition on opensolaris using comstar

i also have two ubuntu instances with openiscsi initators that connect to that disk

both instances have this disk mounted (same disk is shared between instances)

when i write some data on instance1 on that disk i don't see any changes on that disk on instance2, maybe it's related to cache, if i remount the partition the changes are seen on instance2!

What might be the problem? Is it possible to use the same iscsi target disk shared between iscsi initiators?

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

Ext3 isn't a cluster file system. You should not mount the same disk at two differents hosts whith ext3.

You can corrupt the file system.

Try use a cluster filesystem as GFS or OCFS.

link|improve this answer
thx, i've configured ocfs2 and it works perfectly – Troydm Dec 2 '10 at 11:39
2  
s/can corrupt/will corrupt/ – Javier Dec 2 '10 at 13:59
if the iscsi filesystem is mounted RO on the initiators it works like a charm. – petrus Dec 4 '10 at 17:45
hmm intereseting, guess i'l switch to oracle asm , i needed that for oracle rac anyway – Troydm Dec 5 '10 at 10:38
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.