Disk I/O error 5 | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Disk I/O error 5

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-29-2013
migurus migurus is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 21 July 2014, 1:04 PM EDT
Location: US
Posts: 203
Thanks: 23
Thanked 19 Times in 18 Posts
Disk I/O error 5

I ran into I/O error (error 5) when copying files. Tried to copy the file in question to the same filesystem and to the different filesystem using cp, copy and tar - same problem, so looks like system could not read the source file.

The system SCO OSR 5.0.7 runs under VMWare and the storage is IBM SAN. Support already ran fsck from SCO and the IBM utility on SAN (have no details), both came clean.

What would gurus do in this situation?

The guest OS file was moved from the NAS to another storage for now, but I don't have a warm feeling about the situation.
Sponsored Links
    #2  
Old 06-30-2013
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 66 Times in 59 Posts
the file you are copying may not be a regular text or binary file ... see if skipping the file lets your copy/tar job complete ...
Sponsored Links
    #3  
Old 07-02-2013
migurus migurus is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 21 July 2014, 1:04 PM EDT
Location: US
Posts: 203
Thanks: 23
Thanked 19 Times in 18 Posts
JustIce reply is not applicable... I know which file I can copy, it is a plain 200+Mb data file.
Any ideas?
    #4  
Old 07-08-2013
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 66 Times in 59 Posts
what is the output from file data-file as well as strings data-file ? if neither of these commands are able to read the file, there is a very high probability that your file is corrupted since disk and filesystem corruption "has already been" ruled out ...
Sponsored Links
    #5  
Old 07-08-2013
migurus migurus is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 21 July 2014, 1:04 PM EDT
Location: US
Posts: 203
Thanks: 23
Thanked 19 Times in 18 Posts
I said this is a plain file with binary data in it, so the strings command is not meaningful.


Code:
 
$ file FNAME.dat
FNAME.dat:      data

What do you mean by
Quote:
file is corrupted
?

The binary content of the file is corrupted? Only application would be able to tell, as it know how to interpret the content, but I was getting I/O error 5 when doing plain old copy.

Anybody ever seen this on RAID SAN?

Sorry for repeating question, I really would love to understand when guest OS decides to throw disk I/O and the h/w manufacturer's tools show disk is good.
Sponsored Links
    #6  
Old 07-09-2013
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 66 Times in 59 Posts
since both ibm san utility and sco fsck utility say the drive and the filesystem are both okay, the possibility that your file is corrupted is over 95% imo considering the error you are getting ...

try having the application that generated the file read it ... if the application is having issues reading the file, the file is corrupted ... if the application can read the file normally, have your sys admins check all the system logs for any errors ...
Sponsored Links
    #7  
Old 07-09-2013
MadeInGermany MadeInGermany is offline Forum Advisor  
Registered User
 
Join Date: May 2012
Last Activity: 23 July 2014, 1:20 PM EDT
Posts: 1,785
Thanks: 107
Thanked 508 Times in 461 Posts
Yes, syslog messages should explain the i/o error.
Can you copy or cat the file to /dev/null ?
Can you copy with dd command? Try different block sizes.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error 25:Disk Read Error A-Train Solaris 0 04-12-2012 06:01 AM
Disk operation Error cabloy AIX 1 04-28-2008 03:22 AM
Disk error gini Solaris 2 11-25-2006 11:53 AM
disk error ECBROWN Solaris 3 03-29-2005 01:34 PM
Disk error vtran4270 UNIX for Advanced & Expert Users 2 04-24-2003 09:19 PM



All times are GMT -4. The time now is 02:05 PM.