Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1001547.1
Update Date:2010-07-19
Keywords:

Solution Type  Problem Resolution Sure

Solution  1001547.1 :   RM6 - Array driver returns "Errored I/O, with errno 5" in console and/or the messages file  


Related Items
  • Sun Storage A3500 SCSI Array
  •  
  • Sun Storage A3500 FC Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - Other
  •  

PreviouslyPublishedAs
202118


Symptoms
Seemingly randomly, the following messages are being printed on the
console and/or the /var/adm/messages file. They seem to be indicating
a hardware error, but no hardware problems are reported by "health
check" in 'rm6'.
   ---------------------------------------------------------------
WARNING: The Array driver is returning an Errored I/O, with errno 5,
on Module 1, Lun 0, sector 140846684
WARNING: Errored I/O, with errno 5, returned to the Array driver on
Module 1, LUN 0
The errored I/O is a write at sector: 140846684
The errored I/O is being routed to the Resolution daemon
---------------------------------------------------------------


Resolution
Although one would immediately think this was a hardware problem, in
reality, these messages may very possibly be caused by an application
attempting to read or write beyond the end of the physical device.
Compare the "errored" block number to the size of the LUN and the slice
being used to see if the errored block is LARGER than the size of the
LUN/slice.
For example, to see if this is truly the case, we run a 'prtvtoc' on
the reported LUN.  For this example, we run
# prtvtoc -s /dev/rdsk/c2t4d0s2
*                        First     Sector    Last
* Partition  Tag  Flags  Sector     Count    Sector  Mount
Directory
0      2    00        0 140845056 140845055   /userdata
2      5    01        0 140849152 140849151
In this example, the LUN ends at sector 140845055, but the error takes
place at sector 140846684.  This indicates that whatever application is
reading or writing to this LUN has mistakenly attempted an I/O to an
invalid block number, in this case, a block which is beyond the end
of the slice.
The reason it happened in the case presented here was that the customer
had run 'newfs' on slice 2 of the LUN Which was larger), and then
mounted slice 0 (which was smaller).  Everything worked fine until they
attempted to access blocks beyond the end of the slice.  Simply
unmounting slice 0 and mounting slice 2 instead resolved the problem.


Product
Sun StorageTek A3500 FC Array
Sun StorageTek A3500 Array

rm6, sonoma
Previously Published As
21724

Change History
Date: 2006-01-18
User Name: 95826
Action: Update Canceled
Comment: *** Restored Published Content *** SSH AUDIT
Version: 0
Date: 2006-01-18
User Name: 95826
Action: Update Started
Comment: SSH AUDIT
Version: 0
Date: 2003-10-14
User Name: 81292
Action: Approved
Comment: great work on KCCP. Ready to publish
Version: 0
Date: 2003-10-14
User Name: 110334
Action: Approved
Comment: approved
Version: 0
Date: 2003-10-14
User Name: 38033
Action: Approved

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback