LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-25-2003, 05:15 PM   #1
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 49
Input/Output errors on files


I turned on my Slack 9 box this morning after being away from home for three months (was performing Shakespeare). I connect to the box via SSH (using PuTTY from an XP machine). I tried to "ls" one of my mp3 directories and I received many files with the following: "/bin/ls: File.mp3: Input/output error" These files, I assume, are the problem behind me not being able to access that directory via Samba (using Explorer to transfer files), while all the other directories work fine.

I have tried to rm the offending files, but to no avail; I get the same i/o error, and it drops me back to the prompt. A search here at LQ didn't yield anything regarding individual files (mainly CD-ROM mounting), but I'm hoping someone out there knows the answer!

TIA everyone
 
Old 08-25-2003, 05:20 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Have you checked your /var/log/messages or any other log files to see what could have happened?

Are these in their own partition, like /home? If so, you can umount it and attempt to fsck it possibly, etc.
 
Old 08-25-2003, 05:24 PM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Original Poster
Rep: Reputation: 49
I wish they were in their own partition; I had set up the filesystem as a dry run last year as a venture into linux. Now I deffinately realize I should have put this directory (and other similar directories) on their own partition. I'll check /var/log/messages right now

Edit: Maybe I was smarter than I thought; I have several partitions set up ... checking fstab

Edit2: var/log/messages is pretty much a mystery to me; I'll see if I can copy the info into a text file I'll host somewhere. As for /home, okay, it's set up as hda5 -- I unmount it then run fsck on it?

Last edited by Poetics; 08-25-2003 at 05:30 PM.
 
Old 08-25-2003, 05:38 PM   #4
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Original Poster
Rep: Reputation: 49
Edit: That's what linux is all about, finding answers

Trying the fsck now

Edit: Hardware errors abound. At blocks 1802244, 2424836, 2424837, 2490372; lots of files leaving traces in inode blocks, a whole lotta stuff going into lost+found

Last edited by Poetics; 08-25-2003 at 05:56 PM.
 
Old 08-25-2003, 05:57 PM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Original Poster
Rep: Reputation: 49
Okay -- weeeeell, the fsck ended up deleting whole directories. Didn't want that to happen.

I'm assuming there's no way to get all of the information back? It was about 10 files out of 2000 that were having problems, but now they're all gone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Knoppix 4.0.2 - HD install - input/output errors on README files and docs kitcatcher Linux - Distributions 3 11-12-2005 10:40 AM
KNOPPIX 4.02 Input/Output Errors nomind Linux - Newbie 2 11-03-2005 10:17 PM
Input/Output errors on Mandrake 9.1 exalik Linux - Distributions 2 08-18-2003 04:20 PM
overcoming input/output errors heiseltc Linux - General 0 02-26-2003 12:29 PM
CHMOD and Input/Output errors lachlan Linux - General 3 12-30-2002 04:11 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration