[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls: file: Input/output error



you try running a e2fsck on it ?

run e2fsck -c too, i think that is the option to check for bad blocks. if
its on the root partition you'll have to bring the box down, fastest way
is to init 1, mount -o remount,ro / and run e2fsck on it then mount -o
remount,rw / and init 2 to get back to normal

nate

----------------------------------------[mailto:aphro@aphroland.org ]--
   Vice President Network Operations       http://www.firetrail.com/
  Firetrail Internet Services Limited      http://www.aphroland.org/
       Everett, WA 425-348-7336            http://www.linuxpowered.net/
            Powered By:                    http://comedy.aphroland.org/
    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
11:52am up 75 days, 23:19, 1 user, load average: 0.34, 0.28, 0.28

On Wed, 3 Nov 1999, Debian Mail wrote:

> When I do a ls I get:
> 
> host:~/m> ls
> file
> 
> But ls -la gives:
> 
> host:~/m> ls -la
> ls: file: Input/output error
> total 3
> drwx--S---   3 user     group       1024 Nov  3 16:34 .
> drwxr-sr-x  28 user     group       2048 Nov  3 16:33 ..
> 
> I tried rm -rf /home/user/m but this also gives an I/O error:
> 
> host:~> rm -rf m
> rm: m/file: Input/output error
> rm: m: Directory not empty
> 
> How can I get rid of that file/directory?
> 
> btw: I have no quota so I didn't exceeded it...
> 
> Stef
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: