<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Avoid Error Messages in /var/log/messages EMC CX300</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=688375315-29092006><FONT face=Arial
color=#0000ff size=2>These errors are caused by Linux system applications,
(e.g., blkid(8), hwinfo(8)), which issue read/write i/o directly to target
device paths (i.e., /dev/sdh in your example) which are in a passive/standby
state.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=688375315-29092006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=688375315-29092006><FONT face=Arial
color=#0000ff size=2>Although the errors are benign, there can be a lot of them
and it makes it difficult to discern the ones which are not
benign.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> dm-devel-bounces@redhat.com
[mailto:dm-devel-bounces@redhat.com] <B>On Behalf Of </B>Herr,
Manuel<BR><B>Sent:</B> Wednesday, September 27, 2006 6:27 AM<BR><B>To:</B>
dm-devel@redhat.com<BR><B>Subject:</B> [dm-devel] Avoid Error Messages in
/var/log/messages EMC CX300<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial>Hi there,</FONT> <BR><FONT face=Arial>i get Error Messages
in my logfiles when I boot the System and then, approx. every 10 Minutes, or
during an hwinfo.</FONT> <BR><FONT face=Arial>The Server is connected to an
EMC CX 300 through 1 Qlogic HBA.</FONT> <BR><FONT face=Arial>The Messages only
appear for the failover Device. In my Example for /dev/sdh. </FONT></P>
<P><FONT face=Arial>#multipath -ld</FONT> <BR><FONT face=Arial>sapdata
(36006016040321900600487993216db11)</FONT> <BR><FONT face=Arial>[size=133
GB][features="1 queue_if_no_path"][hwhandler="1 emc"]</FONT> <BR><FONT
face=Arial>\_ round-robin 0 [active]</FONT> <BR><FONT face=Arial> \_
3:0:1:6 sdp 8:240 [active][ready]</FONT> <BR><FONT face=Arial>\_ round-robin 0
[enabled]</FONT> <BR><FONT face=Arial> \_ 3:0:0:6 sdh 8:112
[active][ready]</FONT> <BR><FONT face=Arial>*snip*</FONT> </P>
<P><FONT face=Arial>#fdisk -l /dev/sdp</FONT> <BR><FONT face=Arial>Disk
/dev/sdp: 143.0 GB, 143034155008 bytes</FONT> <BR><FONT face=Arial>255 heads,
63 sectors/track, 17389 cylinders</FONT> <BR><FONT face=Arial>Units =
cylinders of 16065 * 512 = 8225280 bytes</FONT> </P>
<P><FONT face=Arial> Device Boot
Start
End Blocks Id System</FONT>
<BR><FONT
face=Arial>/dev/sdp1
1 17389 139677111
83 Linux</FONT> </P>
<P><FONT face=Arial>#fdisk -l /dev/sdh</FONT> <BR><FONT face=Arial>-->
Generates this Error in /var/log/messages</FONT> <BR><FONT face=Arial>Sep 27
12:17:44 saptf2 kernel: end_request: I/O error, dev sdh, sector 0</FONT>
<BR><FONT face=Arial>Sep 27 12:17:44 saptf2 kernel: Buffer I/O error on device
sdh, logical block 0</FONT> </P><BR>
<P><FONT face=Arial>Configuration:</FONT> <BR><FONT
face=Arial>/etc/multipath.conf</FONT> <BR><FONT face=Arial>defaults {</FONT>
<BR><FONT face=Arial>
default_features "1 queue_if_no_path"</FONT> <BR><FONT face=Arial>}</FONT>
</P>
<P><FONT face=Arial>multipaths {</FONT> <BR><FONT
face=Arial> multipath</FONT>
<BR><FONT face=Arial> {</FONT>
<BR><FONT
face=Arial>
#mountpoint /sapdb/PF1/sapdata</FONT> <BR><FONT
face=Arial>
wwid 36006016040321900600487993216db11</FONT> <BR><FONT
face=Arial>
alias sapdata</FONT> <BR><FONT
face=Arial> }</FONT> <BR><FONT
face=Arial>*snip* (some more aliases for other LUNs) *snip*</FONT> <BR><FONT
face=Arial>}</FONT> <BR><FONT face=Arial>devices {</FONT> <BR><FONT
face=Arial> device {</FONT>
<BR><FONT
face=Arial>
vendor
"DGC "</FONT> <BR><FONT
face=Arial>
product
"*"</FONT> <BR><FONT
face=Arial>
path_grouping_policy group_by_prio</FONT> <BR><FONT
face=Arial>
getuid_callout
"/sbin/scsi_id -g -u -s /block/%n"</FONT> <BR><FONT
face=Arial>
path_checker
emc_clariion</FONT> <BR><FONT
face=Arial>
features
"1 queue_if_no_path"</FONT> <BR><FONT
face=Arial>
hardware_handler "1 emc"</FONT>
<BR><FONT
face=Arial>
failback
immediate</FONT> <BR><FONT
face=Arial>
prio_callout
"/sbin/mpath_prio_emc /dev/%n"</FONT> <BR><FONT
face=Arial>
no_path_retry
300</FONT> <BR><FONT face=Arial>
}</FONT> <BR><FONT face=Arial>}</FONT> </P>
<P><FONT face=Arial>Loaded Modules:</FONT> <BR><FONT
face=Arial>dm_emc
23808 1</FONT> <BR><FONT
face=Arial>dm_round_robin
20480 1</FONT> <BR><FONT
face=Arial>dm_multipath
38800 3 dm_emc,dm_round_robin</FONT> <BR><FONT
face=Arial>dm_mod
77536 23 dm_multipath</FONT> <BR><FONT
face=Arial>qla2300
141696 0</FONT> <BR><FONT
face=Arial>qla2xxx
356192 33 qla2300</FONT> </P>
<P><FONT face=Arial>#modinfo qla2300</FONT> <BR><FONT
face=Arial>version: 8.01.02-sles
DBB4213CE377B7165AFB8AC</FONT> </P>
<P><FONT face=Arial>#modinfo qla2xxx</FONT> <BR><FONT
face=Arial>version: 8.01.02-sles
F6D31250031AEB3A3B9138A</FONT> </P>
<P><FONT face=Arial>Kernel: </FONT><BR><FONT face=Arial>2.6.5-7.282-smp
X86_64</FONT> </P>
<P><FONT face=Arial size=2>I searched the mailing Lists for other examples,
but i didnt find any Suggestions to solve this.</FONT> <BR><FONT face=Arial
size=2>Thanks for help!</FONT> <BR><FONT face=Arial size=2>Regarding
</FONT><BR><FONT face=Arial size=2>Manuel Herr</FONT>
</P><BR></BLOCKQUOTE></BODY></HTML>