Ls Input Output Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this ls reading directory . input/output error ubuntu site About Us Learn more about Stack Overflow the company Business Learn more ls reading directory . input/output error centos about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix ls: reading directory .: input/output error ext4 & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: ls reading directory . input/output error redhat Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top “Input/output error” when accessing a directory up vote 39 down vote favorite 9 I want to list and remove the content of a directory on a removable hard drive. But I have experienced "Input/output error": $ rm pic -R rm: cannot remove `pic/60.jpg': Input/output error rm: cannot
Cannot Open Directory . Input/output Error
remove `pic/006.jpg': Input/output error rm: cannot remove `pic/008.jpg': Input/output error rm: cannot remove `pic/011.jpg': Input/output error $ ls -la pic ls: cannot access pic/60.jpg: Input/output error -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 006.jpg -????????? ? ? ? ? ? 011.jpg I was wondering what the problem is? How can I recover or remove the directory pic and all of its content? My OS is Ubuntu 12.04, and the removable hard drive has ntfs filesystem. Other directories not containing or inside pic on the removable hard drive are working fine. Added: Last part of output of dmesg after I tried to list the content of the directory: [19000.712070] usb 1-1: new high-speed USB device number 2 using ehci_hcd [19000.853167] usb-storage 1-1:1.0: Quirks match for vid 05e3 pid 0702: 520 [19000.853195] scsi5 : usb-storage 1-1:1.0 [19001.856687] scsi 5:0:0:0: Direct-Access ST316002 1A 0811 PQ: 0 ANSI: 0 [19001.858821] sd 5:0:0:0: Attached scsi generic sg2 type 0 [19001.861733] sd 5:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB) [19001.862969] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.865223] sd 5:0:0:0: [sdb] Cache data unavailable [19001.865232] sd 5:0:0:0: [sdb] Assuming drive cache: write through
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other
Input/output Error Nfs
Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media ls cannot access input output error Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity linux input output error deleting file Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Input/output error when accesing a directory Having an Issue With Posting http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 7 of 7 Thread: Input/output error when accesing a directory Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode October 25th, 2010 #1 tjoff View Profile View https://ubuntuforums.org/showthread.php?t=1605384 Forum Posts Private Message Just Give Me the Beans! Join Date Apr 2009 Location Denmark Beans 58 DistroUbuntu 10.04 Lucid Lynx Input/output error when accesing a directory Hi I have a directory "foo" on a NTFS partition of my hard drive, which i created a couple of days ago. After creation it worked fine and i put some files in it, but the day after i get the following error: me@mymachine:/media/disk1$ ls -l foo ls: cannot access foo: Input/output error me@mymachine:/media/disk1$ ls -l ls: cannot access foo: Input/output error total 101 d????????? ? ? ? ? ? foo (+ a succesful listing of other files and directories) I get the Input/output error no matter what i try to do to the directory (rm, mv, cd, etc.), and no matter which privileges i have. I read some threads suggesting that it is a hardware problem. I tried running ntfsfix on the partition: me@mymachine:~$ sudo ntfsfix /dev/sda3 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. NTFS volume version is 3.1. NTFS partition /dev/sda3 was processed successfully. I have also run the short and the long SMA
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Input/output error User Name Remember Me? Password Linux - Newbie This http://www.linuxquestions.org/questions/linux-newbie-8/input-output-error-222152/ Linux forum is for members that are new to Linux. Just starting out and have a question? If it is not in the man pages or the how-to's this is the place! http://linux.overshoot.tv/ticket/64 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 output error 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 reading directory . 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. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-25-2004, 06:19 AM #1 rob19 Member Registered: Mar 2003 Location: New Zealand Distribution: Red Hat Linux 8 & 9 Posts: 32 Rep: In
login Username: * Password: * Create new account Request new password Tickets per project All tickets French Republican Calendar and Decimal Time API Linux distribution Linux hardware Linux server Linux software Programming Web site lftp Home » Linux software » Issues » ls: cannot access *** Input/output error ls: cannot access *** Input/output error Thu, 05/06/2010 - 05:44 - augustin Jump to:Most recent comment Project:Linux software Component:Documentation Category:bug report Priority:normal Assigned:Unassigned Status:active Related pages:#29: filesystem :-:-: #65: Troubleshooting a failing hard drive DescriptionI have an external USB drive. I can mount it and browse some of its directories. However, when I try to browse a specific directory, I get: ls: cannot access *** Input/output error Login or register to post comments Comments #1 augustin - 05/06/2010 - 05:44 Related pages:+29: filesystem wiki. Login or register to post comments #2 augustin - 05/06/2010 - 05:52 http://en.wikipedia.org/wiki/S.M.A.R.T. do smart test $ sudo apt-get install smartmontools http://ubuntuforums.org/showthread.php?t=1129872 Login or register to post comments #3 augustin - 05/06/2010 - 05:54 try e2fsck http://www.mail-archive.com/cwelug@googlegroups.com/msg00823.html Login or register to post comments #4 augustin - 05/06/2010 - 05:55 Reboot with force fsck to check your filesystems shutdown -F -r now http://bbs.archlinux.org/viewtopic.php?pid=549952 Login or register to post comments #5 augustin - 05/06/2010 - 05:57 fdisk -l dd if=/dev/zero of=/dev/sdb http://www.linuxforums.org/forum/misc/122254-solved-cant-remove-files-us... Login or register to post comments #6 augustin - 05/06/2010 - 06:15 (Probably) the filesystem is corrupted. I would copy/clone the the whole partition (using eg. dd) just to make data safe (don't forget to unmount the partition first). Then you can experiment with one of the copies to recover the files and fix filesystem; try to run fsck, or this might help as well: http://www.cgsecurity.org/ (photorec, testdisk) http://linux.derkeiler.com/Mailing-Lists/SuSE/2009-11/msg02355.html Login or register to post comments #7 augustin - 05/06/2010 - 06:17 with USB unless you have gone out of your way to write another file system over the one you have then your friend is a little