Reading Directory . Input/output Error Centos
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 Learn more about Stack ls reading directory . input/output error in linux Overflow the company Business Learn more about hiring developers or posting ads with us ls: reading directory .: input/output error ext4 Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site
Ls Reading Directory . Input/output Error Redhat
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 answer The best answers are voted
Linux Input Output Error Deleting File
up and rise to the top “Input/output error” when accessing a directory up vote 40 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 rm: cannot remove `pic/011.jpg': Input/output error $ ls -la pic cannot open directory . input/output error 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:0:0:0: [sdb] Assuming drive cache: write through [19001.891946] sdb: sdb1 [19001.894713] sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled [19001.8
after time Pages: 1 #1 2014-09-16 13:51:35 Carl Karl Member Registered: 2013-06-12 Posts: 225
Ls Reading Directory Input Output Error Nfs
[solved] NFS: "ls: reading directory .: Input/output error" input/output error ubuntu after time Hello,I got the following configuration:NFS-server: Always on, connected via LAN.NFS-clients: 2 input output error while copying linux computers, connected via LAN and WLAN. On standby: auto umount NFS-share via system-sleep-hook with systemd.This works flawlessly some hours or even days. http://unix.stackexchange.com/questions/39905/input-output-error-when-accessing-a-directory But after some time, the following happens:1. mount nfs-share: no error message2a. trying to access that folder via 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 https://bbs.archlinux.org/viewtopic.php?id=187131 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 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,017 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. Dm
login Username: * Password: * Create new account Request new password Tickets per project All tickets French Republican Calendar http://linux.overshoot.tv/ticket/64 and Decimal Time API Linux distribution Linux hardware Linux server http://blog.zwiegnet.com/linux-server/inputoutput-error-from-nfs-client-on-centos/ 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 output error 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 reading directory . 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 file
Plan - Why it's Necessary and What May Be NeededRsync vs TAR Backup CentOS LinuxOffsite Backup Script LinuxInstall Security updates only Yum CentOSAcceptable timeframe to restore hosted servicesLinux TutorialsConfigure DHCP Server CentOS 6Expand a Filesystem on CentOS LinuxFind Version of Linux You are RunningInstall RPM Package on CentOS LinuxLinux ConsultingLinux Server TypesMount CIFS/Windows Share on FedoraMount NFS Share on CentOS 5OpenCobol 2.0 Spec File CentOS/RedHat 6Patching and Installing Updates on CentOSUn-Install Zimbra Community CentOS 6Untangle 9.3 Backup ScriptUse DD to Clone Linux Hard DriveWhere To Get Linux?Choosing a Smart Root PasswordMySQL Replication CentOS All DatabasesInstall 389 Directory Server CentOSInstall Webmin on CentOS 5Active Directory 389 Directory Server SyncInstall Webmin on CentOS 6389 Directory Server MultiMaster Replication CentOSConfigure LDAP Server on CentOS 6Configuring Network CentOS 6Expand SAN LUN Oracle Linux 6Install Zimbra Community CentOS 6Mount a Drive on CentOS LinuxMount SAN Volume Oracle LinuxSetting up NTP CentOS 6 network time syncronizing389 Directory Server Password Policy CentOSConfigure TLS/SSL 389 Directory Server CentOS389 Directory Server TLS Client CentOSSetup CentOS IPv6Change Default Folder for Linux UserConfigure Kickstart CentOS 6Configure MySQL Multi-Master ReplicationConfigure NFS for CentOS 5Create Samba Share for Active DirectoryDisable SELinux CentOS 7Fixing Broken Packages LinuxImport a PST Into Zimbra CommunityInstall Ksplice on Linux MintInstall OpenVAS on CentOSInstall Webmin on CentOS 6.3Mounting an ISO on CentOS LinuxSetup NFS Server on CentOS 6Setup Webmin For GmailMount Floppy Drive on CentOS LinuxMount NFS Share Windows 7Get List of Folder Names With ls and awkMounting Windows Share on CentOSusing at command LinuxAllow SSH Connections Fedora 19Check Disk I/O Oracle Linux 6Configure DHCP for Dynamic DNS CentOS 6Disable Iptables CentOS