IO is making it to the target/device ok, but the target/device is
returning a failure. Look at the box running the target. Is there some
more info in those logs?
I am not sure mutlipath will help because you are getting Medium Errors.
What target are you using?
When the failover happens do you see the iscsi initiator drop one
connection and reconnect in /var/log/messages? You should see something
like conn error 1011 then a msg about being reconnected in N retries.
Could you send all of the /var/log/messages?
The log seems to be missing the iscsid output, but it looks like the
initiator detects the failover, we drop the connection then relogin.
When we relogin though, the target is just failing IO with that
MEDIUM_ERROR or it is just dropping IO (we see the 1021 errors which
mean a IO timedout and we had to run the scsi error handler).
I think you need to contact the sheepdog developers or the people that
made your target to make sure your config is supported, because it looks
like on the initiator side there is not anything more we can do. The
device is just failing IO we send it. You need to ask the target people
why it is doing that.
The key here is on the iSCSI target you need to access your storage with
synchronous direct IO so that as IO is issued over the wire should an
iscsi portal go down you dont lose data.
This situation scales quite well and allows you to run active/active.
We implemented this solution using stgt/open-iscsi and it works really
well if you can excuse the unexplained poor read performance of
open-iscsi. We were able to write to our storage at around 900MB/s over
10gbit Ethernet but only read at around 300MB/s.
--
Greg Procunier, RHCSA, RHCE
UNIX Administrator III - Enterprise Servers and Storage
1 Robert Speck Parkway, Suite 400, Mississauga, Ontario L4Z 4E7
Office: 416-673-3320
Mobile: 647-465-9752
Email: gproc...@symcor.com
Mike,
Many Thanks,
Joby Xavier
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to open-...@googlegroups.com.
To unsubscribe from this group, send email to
open-iscsi+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.