LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Input / output error (https://www.linuxquestions.org/questions/slackware-14/input-output-error-202709/)

xviddivxoggmp3 07-08-2004 03:26 PM

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.

shilo 07-08-2004 03:36 PM

what did you type? try just typing

Code:

cd god
or maybe

Code:

cd /home/god

xviddivxoggmp3 07-08-2004 03:37 PM

i did type that
cd god
but it didn't work.

xviddivxoggmp3 07-08-2004 03:41 PM

i just tried cd /home/god
and it doesn't work either

shilo 07-08-2004 03:46 PM

what happen when you type just:
Code:

cd

xviddivxoggmp3 07-09-2004 05:01 PM

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.

keefaz 07-09-2004 05:09 PM

It will cd to ~/ (your home directory) with no argument.

ringwraith 07-09-2004 05:13 PM

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?

xviddivxoggmp3 07-10-2004 02:14 AM

(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.

keefaz 07-10-2004 04:04 AM

What is your filesystem type ? ext3 ? I would try a fsck from a boot cd to see.

shilo 07-10-2004 10:29 AM

So is the /home directory the only directory that you cannot cd to?

xviddivxoggmp3 07-10-2004 02:14 PM

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.

keefaz 07-10-2004 02:43 PM

Post your fstab ;)

xviddivxoggmp3 07-10-2004 03:10 PM

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


keefaz 07-11-2004 07:13 AM

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.


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