How to remove/prevent Input/output error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to remove/prevent Input/output error
# 1  
Old 04-14-2010
How to remove/prevent Input/output error

Hi

I have a new hdd installed ,and sometimes if i start a session or ftp download while downloading sometimes it creates a
Code:
./filename.type Input/output error

so in that case i can-not overwrite ,rename ,remove ,or place a file with the same name on that dir.

How to prevent this and is there any possibility to remove the file ,i had some suggestion to remove it using it`s inode but on ls-l or any ls option it is not outputting inode value.

PS: hdd is formatted ext3 and it is mounted with that command
Code:
mount /dev/hda3 /tmp/hdd ext3 rw 0 0

# 2  
Old 04-16-2010
If you're having I/O errors, you've got bigger problems than removing the bad files. That's not normal behavior. The disk may be dying.
# 3  
Old 04-16-2010
well if i format this disk it`s become a very healthy device ,but only on download cases it causes that .

But what im looking for ,is there a possibility to remove these I/O error files ,to be able to copy some files with that name because it is not allowing me .
# 4  
Old 04-16-2010
You will need to repair the filesystem with fsck from a livecd, probably. You may not get the lost data but any remaining bad files should be deletable after.

Whether they happen during download or not, these I/O errors are still extremely abnormal, very bad, and run the disk of corrupting your data in worse ways than creating undeletable files; so it really deserves more attention than just fixing bad files after the fact. If the disk itself is fine(though it is the bit I suspect the most, being it's recently replaced; or perhaps the procol, is the new drive a faster revision of SATA than the old?) there may be a device driver or IRQ routing problem. Try booting with the kernel parameter "pci=routeirq" and see if it stops generating bad files.

Last edited by Corona688; 04-16-2010 at 08:32 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Input/output error

Hi issue with red hat and san. I had a LUN shared to me from an oracle storage I am able to see it and the size. ~]# multipath -ll mpathe (3600144f0e984617b00005b466bd70014) dm-3 SUN,ZFS Storage 7430 size=10T features='0' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=1... (0 Replies)
Discussion started by: goya
0 Replies

2. AIX

Prevent admin user accidentally remove database files.

Hi Folks, Any system admin did provide AIX file system control to prevent user/ admin accidentally remove database files ? Thanks. (4 Replies)
Discussion started by: ckwan
4 Replies

3. Shell Programming and Scripting

Remove error code in output

Hi, i have the below code that will compare the value from 2 variables: ./wlst.sh JMSmon.py > out.dat w=`sed -e 's/\(.*!\)\(.*\)\(, Queue.*$\)/\2/' out.dat | awk '/'$1'/{n=0;{print $n}}'|head -n 1` if then x=`sed -e 's/\(.*!\)\(.*\)\(, Queue.*$\)/\2/' out.dat | awk '/'$1'/{n=2;next}n{print... (2 Replies)
Discussion started by: scripter123
2 Replies

4. UNIX for Dummies Questions & Answers

Unable to copy file using SCP (Input/output & Permission denied error)

Hi, I am facing issue while using scp. Source & target machines are Linux & HP-UX respectively. On target machine, if I fire the following command, I get error: Now if I try scp on another file, which is on the same source machine, it works fine. All directories and subdirectories... (2 Replies)
Discussion started by: Technext
2 Replies

5. Shell Programming and Scripting

Dynamic output file generation using a input text file with predefined output format

Hi, I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format. Example: File.txt AP|{SSHA}VEEg42CNCghUnGhCVg== APVG3|{SSHA}XK|"password" AP3|{SSHA}XK|"This is test" .... etc --------- test.sh has... (1 Reply)
Discussion started by: hudson03051nh
1 Replies

6. UNIX for Dummies Questions & Answers

Standard error output to Pipe input - solved

Hi, I want to check a particular word is in standard error output or not. Can I acheive it in single command? For example, Delete file_name 2>error.log cat error.log Output: XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX Successfully deleted XXXXXXXXXXXXXXXXX where delete is... (2 Replies)
Discussion started by: poova
2 Replies

7. Shell Programming and Scripting

how to prevent "ctrl-C" input

Hi I have a script and its execution takes 40 - 60 minutes. The script is run on the console window of the machine. Script execution should not be broken by running ctrl-C under any circumstances. Is there a way to lock the window from any user input (ctrl-C in fact) till the end of the script... (3 Replies)
Discussion started by: aoussenko
3 Replies

8. Shell Programming and Scripting

Prevent output to window

hello, Any suggestion on how to prevent Standard output and Standard Error to window? (3 Replies)
Discussion started by: katrvu
3 Replies

9. AIX

v3fshelper: There is an input or output error

Hello, I encountered a never-seen-before error message soon after the extension of a file system on an AIX 5.2: $ sudo chfs -a size=+1G /filesystemtest v3fshelper: /dev/lvfilesystemtest: There is an input or output error. No error reported by errpt, file system correctly extended. Can... (2 Replies)
Discussion started by: padawan75
2 Replies

10. UNIX for Dummies Questions & Answers

Backup is giving me input/output error

I've been successfully running a daily cron script to backup certain things on my server but just recently I started getting input/output errors for everything. For each directory the script tries to backup I now get this: cp: accessing `/mnt/backup/**dir**/': Input/output error (8 Replies)
Discussion started by: JPigford
8 Replies
Login or Register to Ask a Question