I/O error Err#5 EIO


 
Thread Tools Search this Thread
Operating Systems Solaris I/O error Err#5 EIO
# 1  
Old 10-05-2015
I/O error Err#5 EIO

Hi gurus,

My Solaris version is
Solaris 10 1/06 s10s_u1wos_19a SPARC

Im getting I/O error while trying to ls -l a directory in Solaris SPARC box

the truss output from server is attached below

Code:
truss -fall -vall -wall -rall ls -la

12278/1:        acl("./dat", GETACLCNT, 0, 0x00000000)          = 4
12278/1:        lstat64("./sh", 0xFFBFFCA8)     (sleeping...)
12278/1:        lstat64("./sh", 0xFFBFFCA8)                     Err#5 EIO
./sh12278/1:    write(2, " . / s h", 4)                         = 4
: 12278/1:      write(2, " :  ", 2)                             = 2
I/O error12278/1:       write(2, " I / O   e r r o r", 9)               = 9

12278/1:        write(2, "\n", 1)                               = 1
12278/1:        lstat64("./dump", 0xFFBFFCA8)                   = 0
12278/1:            d=0x05280004 i=126525 m=0040755 l=2  u=1035  g=103   sz=512

Can you share your suggestions for correcting this error.
Thanks in advance.
# 2  
Old 10-05-2015
Here are some suggestions:

- Have a look to the status of the disk storing the file system containing this directory. (df -k; iostat -En)
- Be ready to replace it.
- Make sure you have up to date backups available.
- Try fsck
- Update/Upgrade your Solaris version which looks to be nine years old.
- Switch to ZFS.
This User Gave Thanks to jlliagre For This Post:
# 3  
Old 10-06-2015
Thanks jlliagre,

iostat is indeed showing errors.

Code:
c4t4d0          Soft Errors: 0 Hard Errors: 23526 Transport Errors: 4606
Vendor: SEAGATE  Product: ST373207LSUN72G  Revision: 0354 Serial No: 1030MHGL
Size: 73.40GB <73400057856 bytes>
Media Error: 19634 Device Not Ready: 0 No Device: 3892 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 1597

I have no experience in using fsck.
Im planning to run fsck like this.
Code:
1) umount the disk
2) run fsck as 
     fsck /dev/dsk/c4t4d0s0

Hopefully fsck will give me some interactive fixes.
Do you see any issues in running fsck like this and are these hard errors fixable by fsck?

Thanks
# 4  
Old 10-06-2015
I think jlliagre was being kind. Disks have what is called an MTBF - which is sort of an expected operating lifetime in operating hours, or uptime. Consider that your disk may be 'fixed' in the very short term by fsck.

But the disk will continue on its path to complete degradation. Your other disks may also have issues.

We had an old SPARC box - and several replacement disks on hand for this very reason. If you do not have support getting older disk hardware becomes really problematic. We have actually bought parts on Ebay. Our benighted management finally got the message - we now have support: full support.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Ubuntu getting frozen with '{ DRDY ERR }' error

Hi, I am using Ubuntu LTS 12.04. For last few weeks it is getting frozen on INIT 5 and and I can see follwoing logs in single user mode. Have any body any clue for the following: Feb 3 09:14:07 CB11WS1 kernel: ata1.00: status: { DRDY ERR } Feb 3 09:14:07 CB11WS1 kernel: ata1.00:... (0 Replies)
Discussion started by: nixhead
0 Replies

2. UNIX for Dummies Questions & Answers

Getting Perl err.msg when I login?

Hi, When I login to system. root or any of the user, I get Perl error message. Please advise.... When I login as a user.... I get this err.msg. Terminal type is vt100 You have new mail. bash: /usr/local/bin/perl: cannot execute binary file when I login as root. Terminal type... (2 Replies)
Discussion started by: samnyc
2 Replies

3. Shell Programming and Scripting

Ksh script: std Out/err

Hello gurus, this is part of my script: ls -1 ${MyFile} >> ${dir_log}ListFile${Now}.tmp FILENUM=`cat ${dir_log}ListFile${Now}.tmp| wc -l | awk '{print $1}'`>> /dev/null if then writeError "ERRORE: no file in directory for type ${FileName}!" >> ${LogFileName} Close 1 fi... (7 Replies)
Discussion started by: GERMANICO
7 Replies

4. Shell Programming and Scripting

Phrasing err ssh...

hi.... below cmd (to get current hour - 1) works in localhost...whereas to get the same value in remote host..no result.. looks some pharsing error...can someone help? $ date Monday, 3 May 2010 09:15:46 GMT $ perl -e 'print "" . localtime(time()-$ARGV) . "\n";' 3600 Mon May 3 08:15:57... (1 Reply)
Discussion started by: id100
1 Replies

5. Shell Programming and Scripting

Syntax err near unexpected token...

I've been looking at this code too long. Maybe a fresh set of eyes can spot the: "syntax error near unexpected token `(' ./phmenu ` tput cup 18 4: echo "Accept? (y) es or (n)o: " This is the line in the code: tput cup 18 4; echo "Accept? (y)es or (n)o: " Thanks In Advance... (3 Replies)
Discussion started by: Ccccc
3 Replies

6. Shell Programming and Scripting

Getting err with 'awk' command

Hi All, I am trying to run the below cmd thro' a script. awk 'NR>=48&&NR<=(58-1)' $IN_FILE_NAME | tee $OUT_FILE_NAME but I am getting an err while running the script. It gives the below err msg : awk: syntax error near line 1 awk: bailing out near line 1 (P.S Note: When run the... (6 Replies)
Discussion started by: askumarece
6 Replies

7. AIX

Can I display err log again after run errclear

After run errclear, it will clean the err log file. After that, if I still need display the log has been cleared by errclear, how can I do? thanks (5 Replies)
Discussion started by: rainbow_bean
5 Replies

8. Shell Programming and Scripting

sccs get -ek command is throwing err

Hi, get -ek s.Communicator.java The difference between the current date and the creation date of the newest delta in the SCCS file is greater than 1 year. Make sure that the system date is set correctly. This message is only a warning. (co11) 14.3 ... (0 Replies)
Discussion started by: Shivaprasad BS
0 Replies

9. Shell Programming and Scripting

Err while using find command

hi frnds, I have written a script as follows. ssh username@servername "find $1 -type f -name $2 -mtime +1 -exec rm '{}' \;" when i excute tis script i get error FIND: Parameter format not correct parameter 2 is the file name .. . Thx in advance (6 Replies)
Discussion started by: vikramsnest
6 Replies

10. UNIX for Dummies Questions & Answers

tar write err

This isn't causing me a problem, but it is puzzling (& slightly worrying) me. If I use tar to copy to a tape & the tape is write protected, I only get the message 'tar: tape write err' if there are a few files to copy. eg. # tar cvf /dev/rStp4 /usr/data will produce the messages ... (4 Replies)
Discussion started by: Kevin Pryke
4 Replies
Login or Register to Ask a Question