Ls Reading Directory . Input/output Error Linux
Contents |
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 time Hello,I got the following configuration:NFS-server: Always on, connected via LAN.NFS-clients: 2 ls reading directory . input/output error centos computers, connected via LAN and WLAN. On standby: auto umount NFS-share via system-sleep-hook ls reading directory . input/output error redhat with systemd.This works flawlessly some hours or even days. But after some time, the following happens:1. mount nfs-share: no ls: reading directory .: input/output error ext4 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
Input/output Error Ubuntu
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 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 linux input output error deleting file _______________________ 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.190117] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 4.190596] NFSD: starting 90-second grace period (net ffffffff818a9540) [ 5.445237] [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp off [ 5.895519] r8169 0000:04:00.0 enp4s0: link up [ 5.895529] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready [72346.265850] usb 3-1: USB disconnect, device number 2 [72346.670926] usb 3-1: new SuperSpeed USB device number 3 using xhci_hcd [72346.684585] usb-storage 3-1:1.0: USB Mass
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 cannot open directory . input/output error more about Stack Overflow the company Business Learn more about hiring developers or posting
"input/output Error" Nfs
ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
Ls Cannot Access Input/output Error
Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ls: reading directory .: Input/output error [closed] up vote 2 https://bbs.archlinux.org/viewtopic.php?id=187131 down vote favorite My system raised the I/O error when I tried to use 'ls' on a mounted hard disk. I am using hadoop@hbase1:/hddata$ uname -a Linux hbase1 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux hadoop@hbase1:/hddata$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/hbase2--vg-root 468028968 2715496 441532304 1% / udev 6081916 4 6081912 1% /dev tmpfs 2436652 336 2436316 1% /run none http://stackoverflow.com/questions/18819812/ls-reading-directory-input-output-error 5120 0 5120 0% /run/lock none 6091620 0 6091620 0% /run/shm /dev/sda1 1922727280 867279740 957771940 48% /hddata /dev/sdb1 233191 27854 192896 13% /boot 10.18.103.101:/data/marketdata 1883265024 1644255232 143344640 92% /srv/data/marketdatah The last several lines of dmesg hadoop@hbase1:/hddata$ dmesg | tail [316263.280056] EXT4-fs (sda1): previous I/O error to superblock detected [316263.281326] sd 0:0:0:0: [sda] Unhandled error code [316263.281329] sd 0:0:0:0: [sda] [316263.281330] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [316263.281332] sd 0:0:0:0: [sda] CDB: [316263.281334] Write(10): 2a 00 00 00 00 3f 00 00 08 00 [316263.281342] end_request: I/O error, dev sda, sector 63 [316263.282584] Buffer I/O error on device sda1, logical block 0 [316263.283799] lost page write due to I/O error on sda1 [316263.283842] EXT4-fs error (device sda1): ext4_find_entry:1270: inode #2: comm bash: reading directory lblock 0 linux filesystems share|improve this question edited Apr 4 '14 at 18:54 Tshepang 4,6991059103 asked Sep 16 '13 at 2:56 Vimos 1021211 closed as off-topic by Duck, wudzik, Yu Hao, JB., Kjuly Sep 16 '13 at 9:37 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on S
when trying to accessing directory Issues related to hardware problems Post Reply Print view Search Advanced search 3 posts • Page 1 of 1 s77sh Posts: 2 Joined: 2014/07/20 07:24:45 Location: Tehran, Iran Contact: http://www.centos.org/forums/viewtopic.php?t=47360 Contact s77sh Website Yahoo Messenger Input/output error when trying to accessing directory Quote Postby s77sh » 2014/07/20 07:28:03 Hi.I have WHM 11.44.0 (build 22) on CENTOS 6.5.Few days ago I saw that the server was down.After I Go to the robot.hetzner.de and enabled the Rescue Mod, I was saw in SSH that one of my Hard Disks is turned off.Then I was send a ticket to the Server output error Seller (The company that I Bought the server from them).They said we must talk with Hetzner DC.After one day the server was turned on but nothing is working true.I had to restart the server and then The server was not booted.Again I send a ticket to Server Seller and after 2 days the server is booted again without past problems.But when I want to transfer my another server backups reading directory . that located on this server, I came across a big problem.Server Say this problem on many folders in the server:Code: Select allroot@dl [/home/****/www]# ls -la
/bin/ls: reading directory .: Input/output error
total 0When I searching this error, I realized that this is for HARD DISK DAMAGE or CRASH.Know the only thing that I can do is send again a ticket and ask about the backup server on DC or Recover my files.Can anyone help me about this problem?(Sorry for my bad English) Top TrevorH Forum Moderator Posts: 16880 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: Input/output error when trying to accessing directory Quote Postby TrevorH » 2014/07/20 09:47:36 No-one can do anything with that, it's a hardware error. You need to get them to fix the problem. CentOS 5 dies in March 2017 - migrate soon!Full time Geek, part time moderator. Use the FAQ Luke Top s77sh Posts: 2 Joined: 2014/07/20 07:24:45 Location: Tehran, Iran Contact: Contact s77sh Website Yahoo Messenger Re: Input/output error when trying to accessing directory Quote Postby s77sh » 2014/07/20 15:12:14 TrevorH wrote:No-one can do anything with that, it's a hardware error. You need to get them to fix the problem.thanks for reply.When I asked from Hetzner Data Center about Back