[Pacemaker] Immediate fs errors on iscsi connection problem

ruslan usifov ruslan.usifov at gmail.com
Sat Apr 2 22:57:15 CEST 2011


Hello

I have 2 nodes which manage iscsi targets which exported for svn and web
server usage.
But I have follow problem when one of the nodes are dead (when i do
"shutdown -P now") and happens resource migration from one node to another
(ipaddr, iscsi target and so on) on iscsi initiator side I often see follow
in log:

Apr  1 19:05:43 web-server kernel: [5437679.000891] sd 0:0:0:1: [sda]
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr  1 19:05:43 web-server kernel: [5437679.000897] sd 0:0:0:1: [sda] Sense
Key : Illegal Request [current]
Apr  1 19:05:43 web-server kernel: [5437679.000902] Info fld=0x0
Apr  1 19:05:43 web-server kernel: [5437679.000904] sd 0:0:0:1: [sda] Add.
Sense: Logical unit not supported
Apr  1 19:05:43 web-server kernel: [5437679.000910] sd 0:0:0:1: [sda] CDB:
Write(10): 2a 00 26 08 7d c8 00 00 08 00
Apr  1 19:05:43 web-server kernel: [5437679.000920] end_request: I/O error,
dev sda, sector 638090696
Apr  1 19:05:43 web-server kernel: [5437679.000937] __ratelimit: 28
callbacks suppressed
Apr  1 19:05:43 web-server kernel: [5437679.000940] Buffer I/O error on
device sda, logical block 79761337
Apr  1 19:05:43 web-server kernel: [5437679.000948] lost page write due to
I/O error on sda
Apr  1 19:05:43 web-server kernel: [5437679.001145] sd 0:0:0:1: [sda]
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr  1 19:05:43 web-server kernel: [5437679.001149] sd 0:0:0:1: [sda] Sense
Key : Illegal Request [current]
Apr  1 19:05:43 web-server kernel: [5437679.001153] Info fld=0x0
Apr  1 19:05:43 web-server kernel: [5437679.001154] sd 0:0:0:1: [sda] Add.
Sense: Logical unit not supported
Apr  1 19:05:43 web-server kernel: [5437679.001159] sd 0:0:0:1: [sda] CDB:
Write(10): 2a 00 20 fd 5f d8 00 00 08 00
Apr  1 19:05:43 web-server kernel: [5437679.001168] end_request: I/O error,
dev sda, sector 553476056
Apr  1 19:05:43 web-server kernel: [5437679.001178] Buffer I/O error on
device sda, logical block 69184507
Apr  1 19:05:43 web-server kernel: [5437679.001186] lost page write due to
I/O error on sda
Apr  1 19:05:43 web-server kernel: [5437679.001203] JBD: Detected IO errors
while flushing file data on sda
Apr  1 19:05:43 web-server kernel: [5437679.002116] sd 0:0:0:1: [sda]
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr  1 19:05:43 web-server kernel: [5437679.002120] sd 0:0:0:1: [sda] Sense
Key : Illegal Request [current]
Apr  1 19:05:43 web-server kernel: [5437679.002124] Info fld=0x0
Apr  1 19:05:43 web-server kernel: [5437679.002125] sd 0:0:0:1: [sda] Add.
Sense: Logical unit not supported
Apr  1 19:05:43 web-server kernel: [5437679.002130] sd 0:0:0:1: [sda] CDB:
Write(10): 2a 00 13 f8 7b 28 00 00 18 00
Apr  1 19:05:43 web-server kernel: [5437679.002138] end_request: I/O error,
dev sda, sector 335051560
Apr  1 19:05:43 web-server kernel: [5437679.002160] Aborting journal on
device sda.
Apr  1 19:05:43 web-server kernel: [5437679.002864] sd 0:0:0:1: [sda]
Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr  1 19:05:43 web-server kernel: [5437679.002868] sd 0:0:0:1: [sda] Sense
Key : Illegal Request [current]
Apr  1 19:05:43 web-server kernel: [5437679.002872] Info fld=0x0
Apr  1 19:05:43 web-server kernel: [5437679.002874] sd 0:0:0:1: [sda] Add.
Sense: Logical unit not supported
Apr  1 19:05:43 web-server kernel: [5437679.002878] sd 0:0:0:1: [sda] CDB:
Write(10): 2a 00 13 f8 10 10 00 00 08 00
Apr  1 19:05:43 web-server kernel: [5437679.002887] end_request: I/O error,
dev sda, sector 335024144
Apr  1 19:05:43 web-server kernel: [5437679.002898] Buffer I/O error on
device sda, logical block 41878018
Apr  1 19:05:43 web-server kernel: [5437679.002906] lost page write due to
I/O error on sda
Apr  1 19:05:45 web-server kernel: [5437681.360912] ext3_abort called.
Apr  1 19:05:45 web-server kernel: [5437681.360928] EXT3-fs error (device
sda): ext3_journal_start_sb: Detected aborted journal
Apr  1 19:05:45 web-server kernel: [5437681.360939] Remounting filesystem
read-only
Apr  1 19:06:06 web-server kernel: [5437702.070344]  connection1:0: detected
conn error (1020)


And after this file system remounted in read only mode. How can i prevent
this behaviour? I found follow discussion
http://www.mail-archive.com/open-iscsi@googlegroups.com/msg00554.html, but
how apply solution in it for my case, сertainly if this is my case.


PS: as iscsi target I use ietd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20110403/28f94184/attachment.html>


More information about the Pacemaker mailing list