LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 07-08-2004, 03:26 PM   #1
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Rep: Reputation: 30
Input / output error


I'm running slackware 9.1 and received this error when I'm trying to access my home directory. what is wrong, and how do I fix this.
Code:
-bash: cd: god: Input/output error
please help.
my only copy (my fault) of a program is on this directory, and i need it.
 
Old 07-08-2004, 03:36 PM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
what did you type? try just typing

Code:
cd god
or maybe

Code:
cd /home/god
 
Old 07-08-2004, 03:37 PM   #3
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Original Poster
Rep: Reputation: 30
i did type that
cd god
but it didn't work.
 
Old 07-08-2004, 03:41 PM   #4
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Original Poster
Rep: Reputation: 30
i just tried cd /home/god
and it doesn't work either
 
Old 07-08-2004, 03:46 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
what happen when you type just:
Code:
cd
 
Old 07-09-2004, 05:01 PM   #6
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Original Poster
Rep: Reputation: 30
I haven't had a chance to test this yet, but what would a cd with out an argument do?

call directory without a referenced directory?

this sounds like it will do nothing.
 
Old 07-09-2004, 05:09 PM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 61
It will cd to ~/ (your home directory) with no argument.
 
Old 07-09-2004, 05:13 PM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,240

Rep: Reputation: 46
Is your home directory on a separate partition or separate hard drive. Is it mounting okay.
When you type "ls /home" does god show up in the list?
 
Old 07-10-2004, 02:14 AM   #9
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Original Poster
Rep: Reputation: 30
(1) cd does bring me back to the root directory, i asuming due to my master account is root.

(2) ls /home lists my home users/directories
delete/ ftp/ god/ lost+found/ wizard/

(3) I'm still completely lost on how to fix this.
 
Old 07-10-2004, 04:04 AM   #10
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 61
What is your filesystem type ? ext3 ? I would try a fsck from a boot cd to see.
 
Old 07-10-2004, 10:29 AM   #11
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
So is the /home directory the only directory that you cannot cd to?
 
Old 07-10-2004, 02:14 PM   #12
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Original Poster
Rep: Reputation: 30
I already used fsck from the hard drive. the file system is ext2. I have made many attempts to boot from my slackware bootdisk, but it doesn't work.Every attempt has been unsuccessful. I set my bios to boot from floppy. I tried boot option
Code:
mount root=/dev/fd0 ro
but no luck. I tried it from the slackware 9.1 cd and it wouldn't allow me to do this either. I was advised to
Code:
umount /dev/fd2
before running the check, but when I do this, it doesn't even recognize the fsck program. i tried
Code:
e2fsck -pv
and it keeps saying I need to force an alternate superblock. i'm not sure what this means or how to do it.

Shilo, correct, the home directory for those users are the only ones i can not access.

Please, if anyone has any ideas or know how on the superblock, please help. I need to get this program I wrote off the drive. After this program is off I think I'm going to reformat the drive to load freebsd.

Last edited by xviddivxoggmp3; 07-10-2004 at 02:25 PM.
 
Old 07-10-2004, 02:43 PM   #13
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 61
Post your fstab
 
Old 07-10-2004, 03:10 PM   #14
xviddivxoggmp3
Member
 
Registered: Feb 2004
Location: scanf
Distribution: Redhat Enterprise 4.4 AS
Posts: 236

Original Poster
Rep: Reputation: 30
Code:
/dev/hda3        swap             swap        defaults         0   0
/dev/hda1        /                ext2        defaults         1   1
/dev/hda2        /usr/local       ext2        defaults         1   2
/dev/hdb1        /home            ext2        defaults         1   2
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
 
Old 07-11-2004, 07:13 AM   #15
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 61
Are you sure that your /home partition is ext2 ?
Quote:
(2) ls /home lists my home users/directories
delete/ ftp/ god/ lost+found/ wizard/
I believed that the "lost+found/" directory was only present in ext3 partition, but not sure.

I would try to change ext2 to ext3 in your fstab on the /home line and umount / remount it.

Last edited by keefaz; 07-11-2004 at 07:15 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
Input/Output error sufiah Linux - Hardware 4 04-17-2005 07:03 PM
Input/Output error new@linux Linux - Newbie 1 01-21-2005 07:59 AM
Input/output error Sn4s Linux - Hardware 6 07-26-2004 07:38 AM


All times are GMT -5. The time now is 06:09 AM.

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
Open Source Consulting | Domain Registration