Results 1 to 4 of 4

Thread: cannot access [dir]: Input/output error

  1. #1
    Join Date
    Jun 2010
    Location
    Damascus
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation cannot access [dir]: Input/output error

    Hi all, I am a beginner in use Ubuntu .
    I have dir in my HD that is very important to me,but when I try cd commad to go in the dir
    I got this message:
    cannot access `./Lab': Input/output error
    also when use ls to view the currently dir and the other dir's also I got this message:
    "ls: cannot access Lab: Input/output error
    Lab"

    with touch:
    touch: cannot touch `Lab': Input/output error

    with mkdir:
    mkdir: cannot create directory `Lab': Input/output error


    please tell me how can I recovery my files from this damaged dir please geniuses.

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: cannot access [dir]: Input/output error

    Quote Originally Posted by Eng.AbuWleeD View Post
    Hi all, I am a beginner in use Ubuntu .
    I have dir in my HD that is very important to me,but when I try cd commad to go in the dir
    I got this message:
    cannot access `./Lab': Input/output error
    also when use ls to view the currently dir and the other dir's also I got this message:
    "ls: cannot access Lab: Input/output error
    Lab"

    with touch:
    touch: cannot touch `Lab': Input/output error

    with mkdir:
    mkdir: cannot create directory `Lab': Input/output error


    please tell me how can I recovery my files from this damaged dir please geniuses.
    Post the output of:
    Code:
    ls -al
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Jun 2010
    Location
    Damascus
    Beans
    11
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: cannot access [dir]: Input/output error

    Thanks mr for replay
    but when I wrote ls -al

    also error message appear :

    ls: cannot access Lab: Input/output error
    total 20
    drwx------ 1 abulwleed abulwleed 4096 2010-06-09 16:15 .
    drwx------ 1 abulwleed abulwleed 16384 2010-06-09 20:55 ..
    d????????? ? ? ? ? ? Lab

    notice there is ?? nested of wxr's

    any other solution?

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cannot access [dir]: Input/output error

    Input/Output Error is a horrible error. It usually means that part of your disk is unreadable or unwritable - it seems like it's unreadable in your case. Unreadable parts of the disk are very bad indeed as they often mean that you've lost whatever data was in that part.

    You could try FSCK, which stands for FileSystem ChecK. Unmount your disk and run the 'sudo fdisk -l' command to work out the device name of the disk (it'll be something like "/dev/sdf"). Then put it into the following command:

    Code:
    sudo fsck /dev/sdf
    With luck, the immediate problem will be fixed, at which point you should back up your data straight away and throw away the faulty disk.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •