Hello<br><br>I have 2 nodes which manage iscsi targets which exported for svn and web server usage. <br>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:<br>
<br>Aprš 1 19:05:43 web-server kernel: [5437679.000891] sd 0:0:0:1: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE<br>Aprš 1 19:05:43 web-server kernel: [5437679.000897] sd 0:0:0:1: [sda] Sense Key : Illegal Request [current]<br>
Aprš 1 19:05:43 web-server kernel: [5437679.000902] Info fld=0x0<br>Aprš 1 19:05:43 web-server kernel: [5437679.000904] sd 0:0:0:1: [sda] Add. Sense: Logical unit not supported<br>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<br>
Aprš 1 19:05:43 web-server kernel: [5437679.000920] end_request: I/O error, dev sda, sector 638090696<br>Aprš 1 19:05:43 web-server kernel: [5437679.000937] __ratelimit: 28 callbacks suppressed<br>Aprš 1 19:05:43 web-server kernel: [5437679.000940] Buffer I/O error on device sda, logical block 79761337<br>
Aprš 1 19:05:43 web-server kernel: [5437679.000948] lost page write due to I/O error on sda<br>Aprš 1 19:05:43 web-server kernel: [5437679.001145] sd 0:0:0:1: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE<br>Aprš 1 19:05:43 web-server kernel: [5437679.001149] sd 0:0:0:1: [sda] Sense Key : Illegal Request [current]<br>
Aprš 1 19:05:43 web-server kernel: [5437679.001153] Info fld=0x0<br>Aprš 1 19:05:43 web-server kernel: [5437679.001154] sd 0:0:0:1: [sda] Add. Sense: Logical unit not supported<br>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<br>
Aprš 1 19:05:43 web-server kernel: [5437679.001168] end_request: I/O error, dev sda, sector 553476056<br>Aprš 1 19:05:43 web-server kernel: [5437679.001178] Buffer I/O error on device sda, logical block 69184507<br>Aprš 1 19:05:43 web-server kernel: [5437679.001186] lost page write due to I/O error on sda<br>
Aprš 1 19:05:43 web-server kernel: [5437679.001203] JBD: Detected IO errors while flushing file data on sda<br>Aprš 1 19:05:43 web-server kernel: [5437679.002116] sd 0:0:0:1: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE<br>
Aprš 1 19:05:43 web-server kernel: [5437679.002120] sd 0:0:0:1: [sda] Sense Key : Illegal Request [current]<br>Aprš 1 19:05:43 web-server kernel: [5437679.002124] Info fld=0x0<br>Aprš 1 19:05:43 web-server kernel: [5437679.002125] sd 0:0:0:1: [sda] Add. Sense: Logical unit not supported<br>
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<br>Aprš 1 19:05:43 web-server kernel: [5437679.002138] end_request: I/O error, dev sda, sector 335051560<br>
Aprš 1 19:05:43 web-server kernel: [5437679.002160] Aborting journal on device sda.<br>Aprš 1 19:05:43 web-server kernel: [5437679.002864] sd 0:0:0:1: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE<br>Aprš 1 19:05:43 web-server kernel: [5437679.002868] sd 0:0:0:1: [sda] Sense Key : Illegal Request [current]<br>
Aprš 1 19:05:43 web-server kernel: [5437679.002872] Info fld=0x0<br>Aprš 1 19:05:43 web-server kernel: [5437679.002874] sd 0:0:0:1: [sda] Add. Sense: Logical unit not supported<br>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<br>
Aprš 1 19:05:43 web-server kernel: [5437679.002887] end_request: I/O error, dev sda, sector 335024144<br>Aprš 1 19:05:43 web-server kernel: [5437679.002898] Buffer I/O error on device sda, logical block 41878018<br>Aprš 1 19:05:43 web-server kernel: [5437679.002906] lost page write due to I/O error on sda<br>
Aprš 1 19:05:45 web-server kernel: [5437681.360912] ext3_abort called.<br>Aprš 1 19:05:45 web-server kernel: [5437681.360928] EXT3-fs error (device sda): ext3_journal_start_sb: Detected aborted journal<br>Aprš 1 19:05:45 web-server kernel: [5437681.360939] Remounting filesystem read-only<br>
Aprš 1 19:06:06 web-server kernel: [5437702.070344]š connection1:0: detected conn error (1020)<br><br><br>And after this file system remounted in read only mode. How can i prevent this behaviour? I found follow discussion <a href="http://www.mail-archive.com/open-iscsi@googlegroups.com/msg00554.html">http://www.mail-archive.com/open-iscsi@googlegroups.com/msg00554.html</a>, but how apply solution in it for my case, Óertainly if this is my case.<br>
<br><br>PS: as iscsi target I use ietd<br>