Debian Ls Reading Directory . 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 site About Us ls reading directory . input/output error centos Learn more about Stack Overflow the company Business Learn more about hiring developers or input/output error ubuntu posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is ls reading directory . input/output error redhat 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: Anybody can ask a question Anybody can input/output error nfs 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 remove `pic/006.jpg': Input/output error rm: cannot remove `pic/008.jpg': Input/output error
Input/output Error Mac
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 [19001.867597] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.869214] sd 5:0:0:0: [sdb] Cache data unavailable [19001.869218] sd 5:
after time Pages: 1 #1 2014-09-16 13:51:35 Carl Karl Member Registered: 2013-06-12 Posts: 225 [solved] NFS: "ls: reading directory .: Input/output error" after
Ls: Cannot Access : Input/output Error
time Hello,I got the following configuration:NFS-server: Always on, connected via LAN.NFS-clients: input output error while copying linux 2 computers, connected via LAN and WLAN. On standby: auto umount NFS-share via system-sleep-hook with cannot open directory . input/output error systemd.This works flawlessly some hours or even days. But after some time, the following happens:1. mount nfs-share: no error message2a. trying to access that folder via http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory filemanager, e.g. thunar: folder seems to be empty (it isn't on server!), but the correct freesize of the NFS-share on server is displayed in the statusbar.2b. trying to access that folder via commandline: $ ls ls: reading directory .: Input/output errorThe very same worked just a few hours before, I haven't changed anything https://bbs.archlinux.org/viewtopic.php?id=187131 meanwhile. Apart from standby (--> auto umount NFS-share) and resume (manual mount NFS-share) on the clients which worked before, too.Any idea what's going wrong?additional info:server: /etc/exports _______________________ /srv/nfs/myshare 192.168.2.0/24(rw,all_squash,anonuid=33,anongid=33,no_subtree_check)(yes, the mapping is needed and right.)clients:/etc/fstab _______________________ servername:/srv/nfs/myshare /home/carl/nfs nfs4 noauto,soft,user,_netdev,timeo=14,rsize=8192,wsize=8192 0 0/usr/lib/systemd/system-sleep/umount-nfs _______________________ #!/bin/sh case $1 in pre) umount -f /home/carl/nfs ;; esac Last edited by Carl Karl (2014-09-21 17:07:47) Offline #2 2014-09-16 14:15:27 nomorewindows Member Registered: 2010-04-03 Posts: 3,015 Re: [solved] NFS: "ls: reading directory .: Input/output error" after time Somehow your nfs mounts have gone stale. You'd need to remount them or restart nfs related services. Dmesg or syslog output may help. I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...Look ma, no mouse. Offline #3 2014-09-16 14:29:10 Carl Karl Member Registered: 2013-06-12 Posts: 225 Re: [solved] NFS: "ls: reading directory .: Input/output error" after time Indeed, there could be something interesting in dmesg on the server:[ 4.1
/ Output Error with USB Drive Issues related to hardware problems Post Reply Print view Search Advanced search 7 posts • Page 1 of 1 crock Posts: 6 http://www.centos.org/forums/viewtopic.php?t=49718 Joined: 2014/07/22 13:41:40 [SOLVED] Input / Output Error with USB Drive Quote Postby crock » 2014/11/20 12:58:33 500GB Seagate USB Hard Drive - attempting to mount it on my Centos 6.6 http://www.linuxquestions.org/questions/linux-newbie-8/input-output-error-222152/ box. I want to be very clear - this drive works 100% flawlessly on other machines (both windows and other linux flavors)During mount attempts, I'm getting Input/Output Errors. I have no output error idea what I'm doing wrong here.I've got the following packages installed directly from EPEL:Code: Select all(1/2): ntfs-3g-2014.2.15-6.el6.x86_64.rpm | 258 kB 00:00
(2/2): ntfsprogs-2014.2.15-6.el6.x86_64.rpm | 235 kB 00:00
I can use the following command to mount it (and it mounts successfully):Code: Select all$ sudo ntfs-3g /dev/sdd1 /mnt/usbI just cannot directory . input/output read or write anything to it.Code: Select all$ ls /mnt/usb
ls: reading directory .: Input/output errorI however *CAN* write to it on my Fedora20 and Windows7 boxes. Can anyone give me an idea as to what I'm doing wrong? The Fedora20 box has the same RPMs installed.I have the Seagate Diagnostic tools installed on my Windows7 box and it passes every single diagnostic test.I have even zero'd the thing out, reformatted NTFS and still no luck. Any help is appreciated! Last edited by crock on 2014/11/21 12:16:09, edited 1 time in total. Top aks Posts: 1980 Joined: 2014/09/20 11:22:14 Re: Input / Output Error with USB Drive Quote Postby aks » 2014/11/20 17:11:40 I had this one recently. I had previously installed the ntfs fuse driver via rpmforge (naughty me) and I ended up having to remove it, disable rpmforge and install all the nfs stuff from elrepo - then it worked fine. I think the rpmforge fuse driver was "marked" as a later version than the EPEL one, so yum installed that everytime until I disabled rpmforge. Exact same symptoms (I/O error).But if you're 100
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 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! 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 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 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: Input/output error I