Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-25-2003, 05:15 PM
|
#1
|
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Rep:
|
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
|
|
|
|
08-25-2003, 05:20 PM
|
#2
|
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
|
08-25-2003, 05:24 PM
|
#3
|
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Original Poster
Rep:
|
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.
|
|
|
|
08-25-2003, 05:38 PM
|
#4
|
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Original Poster
Rep:
|
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.
|
|
|
|
08-25-2003, 05:57 PM
|
#5
|
|
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181
Original Poster
Rep:
|
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.
|
|
|
|
All times are GMT -5. The time now is 06:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|